[ndnSIM] Unable to run CustomApp with my own scenario

harshad shirwadkar harshadshirwadkar at gmail.com
Thu Apr 9 08:52:04 PDT 2015

Thanks Anil for the reply. Well, I had the correct application in
ndn-my-scenario.cpp (CustomApp). The problem is when I try to run my
scenario, it does not find CustomApp in a set of registered

For now, I have moved the CustomApp source from
src/ndnSIM/examples/ndn-custom-apps to src/ndnSIM/apps and things
started working. Eventually, I want to write my own consumer and
producer apps. I am not sure if that's the correct place
(src/ndnSIM/apps) to write custom applications though. But, I won't
mind as long as things work :-).


On Thu, Apr 9, 2015 at 4:02 AM, Anil Jangam <anilj.mailing at gmail.com> wrote:
> 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.
> /anil.
> On Apr 8, 2015 9:31 PM, "harshad shirwadkar" <harshadshirwadkar at gmail.com>
> wrote:
>> Hello All,
>> I am a newbie in ndnsim.When I run "CustomApp" in a scenario as
>> mentioned on this page:
>> http://ndnsim.net/2.0/applications.html
>> It runs perfectly.
>> But, when I try to do the following:
>> 1) Make a copy of "ndn-simple-with-custom-app.cpp". Let's call the
>> copy as "ndn-my-scenario.cpp"
>> 2) Run "NS_LOG=CustomApp ./waf --run=ndn-my-scenario".
>> After the second step I get following message:
>> msg="Invalid or unregistered component name "CustomApp" in env
>> variable NS_LOG, see above for a list of valid components"
>> Could anyone please let me know what might be the issue? I might be
>> doing something obviously wrong but have spent hours finding the issue
>> and have not been able to find one. Any help is much appreciated.
>> Thanks,
>> Harshad.
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

More information about the ndnSIM mailing list