<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div style="font-family: Helvetica, Arial, sans-serif; font-size: 13px;"><div id="ydp4722a424yiv5878716566"><div><div style="font-family: Helvetica, Arial, sans-serif; font-size: 13px;"><div>Hi community,</div><div><br></div><div>I've been facing this issue that whenever I try to use custom applications; whether it's a forwarding strategy, a customer application or any other custom application (that are given as examples in ndnSIM); outside their example file, it doesn't work. Always a compiling or linking issue. </div><div><br></div><div>For example, I wanted to have custom application 'Hijacker' in my scenario's code file (.cpp), did it using AppHelper. The code file compiles fine and build is finished successfully but my scenario doesn't run and it shows an error:</div><div><br></div><div><b>assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: Hijacker not found", file=../src/core/model/type-id.cc, line=755<br>terminate called without an active exception<br></b><br><div>Note that the scenario in ndn-custom-apps.cpp runs fine and doesn't give any error but when I use custom apps in another file, there's that issue again. Same thing happens when I use 'RandomLoadBalancer' strategy outside ndn-load-balancer.cpp file (different error though).<br></div><div><br></div><div>What am I doing wrong? Help would be much appreciated.</div><div><br></div><div>Regards,</div><div>Hammad<br></div><div><br></div><div><br></div></div></div></div></div></div></div></body></html>