<p dir="ltr">In your application code (ndn-my-scenario.cpp), check what application you are installing on ndn node. My guess is that you are installing an application other than CustomApp.</p>
<p dir="ltr">/anil. </p>
<div class="gmail_quote">On Apr 8, 2015 9:31 PM, "harshad shirwadkar" <<a href="mailto:harshadshirwadkar@gmail.com">harshadshirwadkar@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All,<br>
<br>
I am a newbie in ndnsim.When I run "CustomApp" in a scenario as<br>
mentioned on this page:<br>
<a href="http://ndnsim.net/2.0/applications.html" target="_blank">http://ndnsim.net/2.0/applications.html</a><br>
It runs perfectly.<br>
<br>
But, when I try to do the following:<br>
1) Make a copy of "ndn-simple-with-custom-app.cpp". Let's call the<br>
copy as "ndn-my-scenario.cpp"<br>
2) Run "NS_LOG=CustomApp ./waf --run=ndn-my-scenario".<br>
<br>
After the second step I get following message:<br>
msg="Invalid or unregistered component name "CustomApp" in env<br>
variable NS_LOG, see above for a list of valid components"<br>
<br>
Could anyone please let me know what might be the issue? I might be<br>
doing something obviously wrong but have spent hours finding the issue<br>
and have not been able to find one. Any help is much appreciated.<br>
<br>
Thanks,<br>
Harshad.<br>
_______________________________________________<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" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>