[ndnSIM] Problem: Needs c++14 to compile

Alex Afanasyev aa at cs.fiu.edu
Mon Mar 18 11:19:42 PDT 2019


Sorry, should have tested :)   If you update again, things should be working.

-
Alex

> On Mar 18, 2019, at 2:06 PM, Ahmed BENMOUSSA <ah.benmoussa at lagh-univ.dz <mailto:ah.benmoussa at lagh-univ.dz>> wrote:
> 
> Dear Alex, 
> 
> Thank you very much for your quick answer. I really appreciate. 
> The scenario is now compiling but it is not executed. I get this errors: 
> 
> [2/2] Linking scenarios/ndn-simple
> Waf: Leaving directory `/home/watini/ndnSIM/scenario/build'
> 'build' finished successfully (11.710s)
> Traceback (most recent call last):
>   File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Scripting.py", line 119, in waf_entry_point
>     run_commands()
>   File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Scripting.py", line 181, in run_commands
>     run_command('shutdown')
>   File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Scripting.py", line 170, in run_command
>     ctx.execute()
>   File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Context.py", line 85, in execute
>     self.recurse([os.path.dirname(g_module.root_path)])
>   File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Context.py", line 126, in recurse
>     user_function(self)
>   File "/home/watini/ndnSIM/scenario/wscript", line 124, in shutdown
>     return subprocess.call (argv)
>   File "/usr/lib/python2.7/subprocess.py", line 172, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
> 
> With all my respects, 
> Ahmed.
> 
> Le lun. 18 mars 2019 à 18:51, Alex Afanasyev <aa at cs.fiu.edu <mailto:aa at cs.fiu.edu>> a écrit :
> Hi Ahmed,
> 
> Can you please pull updates from scenario-template repository.  I just pushed updates that should address your problem.
> 
> -
> Alex
> 
>> On Mar 18, 2019, at 1:46 PM, Ahmed BENMOUSSA <ah.benmoussa at lagh-univ.dz <mailto:ah.benmoussa at lagh-univ.dz>> wrote:
>> 
>> Dear everyone,  
>> 
>> I installed and compiled ndnSIM. everything is OK. when I compile with " --enable-example" it works I can execute the available simulation examples. 
>> 
>> The problem is with the scenario template. I compiled with "-d optimize" and installed them. I downloaded the scenario template: 
>> https://github.com/named-data-ndnSIM/scenario-template.git <https://github.com/named-data-ndnSIM/scenario-template.git>
>> 
>> But when I try to run a scenario. it gives me the following error message: 
>> ...ns-3/build/ns3/ndnSIM/ndn-cxx/detail/common.hpp:49:2: error: #error "ndn-cxx applications must be compiled using the C++14 standard (-std=c++14)"
>>  #error "ndn-cxx applications must be compiled using the C++14 standard (-std=c++14)"
>> 
>> along with some other compilation errors.
>> 
>> I did some researches but I didn't find anything about this error.
>> Please help me. 
>> 
>> I'm using Ubunyu 18.04
>> 
>> With all my respects, 
>> Ahmed.
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim <http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim>
> 
> ______________
> Alex Afanasyev
> Assistant Professor, SCIS, Florida International University
> 11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199
> phone: +1.305.348.4960 (office); email: aa at cs.fiu.edu <mailto:aa at cs.fiu.edu>
> web: https://users.cs.fiu.edu/~afanasyev/ <https://users.cs.fiu.edu/~afanasyev/>
> 
> 

______________
Alex Afanasyev
Assistant Professor, SCIS, Florida International University
11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199
phone: +1.305.348.4960 (office); email: aa at cs.fiu.edu <mailto:aa at cs.fiu.edu>
web: https://users.cs.fiu.edu/~afanasyev/ <https://users.cs.fiu.edu/~afanasyev/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190318/8072ce1b/attachment-0001.html>


More information about the ndnSIM mailing list