<div dir="ltr">Hi,<div><br></div><div>When we are using AppHelper to install applications on a ndn Node, which application classes are supported and how?</div><div><br></div><div>For example, in one example code, following few lines installs a Consumer application on the ndn node. </div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div> 86   ndn::AppHelper consumerHelper ("ns3::ndn::ConsumerCbr");</div></div><div><div> 87   consumerHelper.SetPrefix (prefix);</div></div><div><div> 89   consumerHelper.Install (consumerNodes);</div></div></blockquote><br><div>However, I do not see how the ndn-consumer-cbr.h/.cc files are getting compiled? </div><div><br></div><div>I am trying to add a new type of application by defining its own class. I think I have coded it right (e.g. TypeId method, and calling NS_LOG_COMPONENT_DEFINE ("ndn.SampleApp"), NS_OBJECT_ENSURE_REGISTERED (SampleApp); macros. </div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div> 28 TypeId</div></div><div><div> 29 SampleApp::GetTypeId (void)</div></div><div><div> 30 {</div></div><div><div> 31   static TypeId tid = TypeId ("ns3::ndn::SampleApp")</div></div><div><div> 32     .SetGroupName ("Ndn")</div></div><div><div> 33     .SetParent<App> ()</div></div><div><div> 34     .AddConstructor<SampleApp> ()</div></div><div><div> 35   ;</div></div><div><div> 36   return tid;</div></div><div><div> 37 }</div></div></blockquote><div><br></div><div>But I consistently get the below error. </div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::SampleApp not found", file=../src/core/model/type-id.cc, line=539</div></div><div><div>terminate called without an active exception</div></div></blockquote><div><br></div><div>Do we have include this file into (which?) any of the wscript to be able to compile it?</div><div><br></div><div>/anil.</div><div><br></div><div><br></div></div>