[ndnSIM] Error compiling "Scenario" in ndnSIM-2.1
Ayush Agarwal
ayush0071 at gmail.com
Thu Jan 14 07:39:08 PST 2016
Hi,
Instead of using *./waf --run scenario --visualize *to see what is exactly
happening in a visualizer, use the command *./waf --run scenario --vis.* This
will open the pyviz visualizer and run your simulations.
Regards,
Ayush Agarwal
On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B <vbala038 at uottawa.ca> wrote:
> Even I am facing problems while running ndn-simple.
> ./waf --run ndn-simple
> On Jan 14, 2016 1:08 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
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160114/23c75c60/attachment.html>
More information about the ndnSIM
mailing list