[ndnSIM] ForwardingStrategy & running error
Alex Afanasyev
alexander.afanasyev at UCLA.EDU
Tue Sep 30 13:08:50 PDT 2014
Hi Narjes,
In which file(s) did you define the new strategies? Are you sure they are compiled together with your scenario?
I frequently forget to add
NS_OBJECT_ENSURE_REGISTERED(MyStrategyClass);
to ensure that the new strategy is registered in NS-3 object system.
---
Alex
On Sep 27, 2014, at 3:31 AM, narjes aloulou <aloulounarjes at yahoo.fr> wrote:
>
> Hi,
>
> I add two different forwarding strategies in the /model/fw. Then, I use them in my scenario. However, when I run the program, I have this error:
>
> finished successfully (1.131s) assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::fw::ForwardingStrategy not found",
> file=../src/core/model/type-id.cc, line=539 terminate called without an active exception Command ['/home/narjes/workspace/ndnSIM/ns-3/build/scratch/bloomfilter-scenario'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
>
> (I use Ubuntu 14.04)
>
> Thank you for your help.
>
> best regards
>
> Narjes
>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
More information about the ndnSIM
mailing list