[ndnSIM] Problem: Needs c++14 to compile
Ahmed BENMOUSSA
ah.benmoussa at lagh-univ.dz
Mon Mar 18 12:52:48 PDT 2019
Dear Alex,
Can you please tell what was the problem?
Best regards,
Ahmed.
Le lun. 18 mars 2019 à 20:46, Ahmed BENMOUSSA <ah.benmoussa at lagh-univ.dz> a
écrit :
> Dear Alex,
>
> IT'S WORKING! Thank so so so much for your precious help. I really
> appreciate.
> I tested the "ndn-simple" and it's working.
> I also tested the scenario that I was working on before I had a critical
> problem with my PC. and it's working.
> I have a paper to submit very soon. You saved me.
>
> Thank you again for help Alex. That was the best support that I ever had.
> Quick and efficient. Really thank you :)
>
> With all my respect,
> Ahmed.
>
>
>
> Le lun. 18 mars 2019 à 20:28, Alex Afanasyev <aa at cs.fiu.edu> a écrit :
>
>> Hmm.. Can you try update and check again? Pushed one more fix.
>>
>> -
>> Alex
>>
>> On Mar 18, 2019, at 3:22 PM, Ahmed BENMOUSSA <ah.benmoussa at lagh-univ.dz>
>> wrote:
>>
>> ndnSIM directory is in my home folder.
>> ndnSIM
>> |_________ns-3
>> |_________pybindgen
>> |_________scenario
>>
>> ns-3 repo : https://github.com/named-data-ndnSIM/ns-3-dev.git
>> I also executed: git clone --recursive
>> https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM
>> pybindgen repo: https://github.com/named-data-ndnSIM/pybindgen.git
>> scenario repo: https://github.com/named-data-ndnSIM/scenario-template.git
>>
>> I first compiled ns-3:
>> *./waf configure --enable-example*
>> *./waf *
>> I tried ndn-simple it worked (with and without visualizer).
>>
>> Then I download the "scenario" repo
>> back to the ns-3 folder and executed:
>>
>> *./waf configure -d optimized *
>>
>> *./waf *
>> *sudo ./waf install *
>>
>> The scenarios that I tried is ndn-simple (I copied the file to
>> "scenario/scenarios" folder).
>>
>> I executed the scenario with:
>>
>> *./waf --run ndn-simple *
>> *./waf --run ndn-simple --vis*
>>
>> I am struggling with this problems for two day now.
>>
>> Kind Regards,
>> Ahmed.
>>
>> Le lun. 18 mars 2019 à 19:43, Alex Afanasyev <aa at cs.fiu.edu> a écrit :
>>
>>> Then you have to show more (actual repo, scenario, and exact command).
>>> It was working in my local test
>>>
>>> On Mar 18, 2019, at 2:41 PM, Ahmed BENMOUSSA <ah.benmoussa at lagh-univ.dz>
>>> wrote:
>>>
>>> Dear again,
>>>
>>> I am still having the same errors.
>>> It everything OK with the result of ./waf configure command
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Setting top to : /home/watini/ndnSIM/scenario
>>> Setting out to :
>>> /home/watini/ndnSIM/scenario/build Checking for 'gcc' (C compiler)
>>> : /usr/bin/gcc Checking for 'g++' (C++ compiler) : /usr/bin/g++
>>> Checking C++ compiler version : 7.3.0 Checking supported
>>> CXXFLAGS : -std=c++14 Checking supported LINKFLAGS
>>> : -fuse-ld=gold Checking for program 'pkg-config' :
>>> /usr/bin/pkg-config Checking for pkg-config version >= '0.0.0' : yes
>>> Checking for ns3-core : yes Checking for
>>> ns3-network : yes Checking for
>>> ns3-point-to-point : yes Checking for
>>> ns3-applications : yes Checking for
>>> ns3-mobility : yes Checking for
>>> ns3-ndnSIM : yes Checking for
>>> ns3-antenna : yes Checking for
>>> ns3-aodv : yes Checking for
>>> ns3-bridge : yes Checking for
>>> ns3-brite : not found Checking for
>>> ns3-buildings : yes Checking for
>>> ns3-click : not found Checking for
>>> ns3-config-store : yes Checking for
>>> ns3-csma : yes Checking for
>>> ns3-csma-layout : yes Checking for
>>> ns3-dsdv : yes Checking for
>>> ns3-dsr : yes Checking for
>>> ns3-emu : not found Checking for
>>> ns3-energy : yes Checking for
>>> ns3-fd-net-device : yes Checking for
>>> ns3-flow-monitor : yes Checking for
>>> ns3-internet : yes Checking for
>>> ns3-lte : yes Checking for
>>> ns3-mesh : yes Checking for
>>> ns3-mpi : yes Checking for
>>> ns3-netanim : yes Checking for
>>> ns3-nix-vector-routing : yes Checking for
>>> ns3-olsr : yes Checking for
>>> ns3-openflow : not found Checking for
>>> ns3-point-to-point-layout : yes Checking for
>>> ns3-propagation : yes Checking for
>>> ns3-spectrum : yes Checking for
>>> ns3-stats : yes Checking for
>>> ns3-tap-bridge : yes Checking for
>>> ns3-topology-read : yes Checking for
>>> ns3-uan : yes Checking for
>>> ns3-virtual-net-device : yes Checking for
>>> ns3-visualizer : yes Checking for
>>> ns3-wifi : yes Checking for
>>> ns3-wimax : yes Checking supported
>>> CXXFLAGS : -O2 -g -pedantic -Wall -Wextra -Wnon-virtual-dtor
>>> -Wno-unused-parameter -fdiagnostics-color Checking supported
>>> LINKFLAGS : -Wl,-O1 *
>>>
>>> Thank you in advance Alex,
>>>
>>> with my respects,
>>> Ahmed.
>>>
>>> Le lun. 18 mars 2019 à 19:19, Alex Afanasyev <aa at cs.fiu.edu> a écrit :
>>>
>>>> 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>
>>>> 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-simpleWaf: 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_exceptionOSError: [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> 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> 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
>>>>>
>>>>> 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
>>>>> 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 <aa at cs.fiu.edu>
>>>>> web: 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 <aa at cs.fiu.edu>
>>>> web: 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 <aa at cs.fiu.edu>
>>> web: 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 <aa at cs.fiu.edu>
>> web: https://users.cs.fiu.edu/~afanasyev/
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190318/7f60b39a/attachment-0001.html>
More information about the ndnSIM
mailing list