[ndnSIM] declaring a variable in ndn-forwarding-strategy
alexander.afanasyev at ucla.edu
Mon Dec 16 11:26:25 PST 2013
Is it just terminates without any output or terminates with an error?
If it is an error, then try to run in a debugger, so you can see what exactly is causing the error. For example,
./waf --run <scenario> --command-template 'gdb --args %s'
On Dec 15, 2013, at 10:17 AM, <i.liyanage at surrey.ac.uk> <i.liyanage at surrey.ac.uk> wrote:
> In ndn-forwading-strategy.h, I declared variable.
> std::set<Name> m_allowCS;
> and tried to access in one of the applications by following code
> Ptr<ForwardingStrategy> forwardingstat = GetNode()->GetObject<ForwardingStrategy>();
> Ptr<Name> inName = Create<ndn::Name> ("/prefix");
> This compiles fine.
> but once I run this, simulator exit without any output. Could you point out what's wrong.
> Many Thanks,
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM