<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Is it just terminates without any output or terminates with an error?</div><div><br></div><div>If it is an error, then try to run in a debugger, so you can see what exactly is causing the error.  For example,</div><div><br></div><div>./waf --run <scenario> --command-template 'gdb --args %s'</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Dec 15, 2013, at 10:17 AM, <<a href="mailto:i.liyanage@surrey.ac.uk">i.liyanage@surrey.ac.uk</a>> <<a href="mailto:i.liyanage@surrey.ac.uk">i.liyanage@surrey.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr" fpstyle="1" aria-label="Message body" tabindex="0" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; margin: 0px;">Hi,<div><br></div><div>In ndn-forwading-strategy.h, I declared variable.</div><div><font color="#808080">std::set<Name>  m_allowCS;</font></div><div><br></div><div>and tried to access in one of the applications by following code</div><div><div><font color="#808080">Ptr<ForwardingStrategy> forwardingstat = GetNode()->GetObject<ForwardingStrategy>();</font></div><div><font color="#808080">Ptr<Name> inName = Create<ndn::Name> ("/prefix");</font></div><div><font color="#808080">forwardingstat->m_allowCS.insert(*inName);</font></div></div><div><br></div><div>This compiles fine.</div><div>but once I run this, simulator exit without any output. Could you point out what's wrong.</div><div><br></div><div>Many Thanks,</div><div>Isuru</div></div>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></div></blockquote></div><br></body></html>