[ndnSIM] Error compiling "Scenario" in ndnSIM-2.1

Muhammad Faran m.faran.majeed at gmail.com
Thu Jan 14 06:32:15 PST 2016


Dear Christian,

I'm able to build my scenarios, now. Thank you for your email. :)

 Is there any way to see what’s happening while I run my scenario? I've
tried,

./waf --run scenario --visualize

It builds successfully but nothing appears. :(


Kind regards,

Muhammad Faran Majeed,
AIT, Thailand

On Thu, Jan 14, 2016 at 2:37 PM, Christian Kreuzberger <
christian.kreuzberger at itec.aau.at> wrote:

> Hi
>
>
>
> I believe that you are not supposed to call
>
> ./waf –run scenarios/scenario-1.cpp
>
> but instead
>
> ./waf –run scenario-1
>
> (without the relative path and .cpp at the end)
>
>
>
>
>
> Best regards
>
> Christian
>
>
>
> *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf Of *Muhammad
> Faran
> *Sent:* Thursday, January 14, 2016 8:01 AM
> *To:* ndnsim at lists.cs.ucla.edu
> *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1
>
>
>
> Dear All,
>
>
>
> I've downloaded and compiled ndnSIM-2.1 from
> http://ndnsim.net/2.1/getting-started.html and followed instructions for
> "Real Experimentation". But I'm getting following error. Could anyone help
> me, please?
>
>
> ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run
> scenarios/scenario-1.cpp
> Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build'
> Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build'
> 'build' finished successfully (0.052s)
> Traceback (most recent call last):
>   File
> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py",
> line 103, in waf_entry_point
>     run_commands()
>   File
> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py",
> line 166, in run_commands
>     run_command('shutdown')
>   File
> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py",
> line 155, in run_command
>     ctx.execute()
>   File
> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py",
> line 92, in execute
>     self.recurse([os.path.dirname(g_module.root_path)])
>   File
> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py",
> line 133, in recurse
>     user_function(self)
>   File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in
> shutdown
>     return subprocess.call (argv)
>   File "/usr/lib/python2.7/subprocess.py", line 522, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
>     raise child_exception
> *OSError: [Errno 2] No such file or directory*
>
> Best,
>
> Faran
>
> AIT, Thailand
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160114/1b3a1e61/attachment.html>


More information about the ndnSIM mailing list