[ndnSIM] C++ Compiler issue on ndnsim 2.6
Ertugrul DOGRULUK
ertugruldogruluk at hotmail.com
Sun Apr 14 06:57:22 PDT 2019
Dear Klaus,
Thanks for your assistance. I sorted it out, the way you suggested.
-----------------------------------------
Dear, ndnSIM developers,
The version 2.6 is not suitable for ns3 3.28.
The queue.c<http://queue.cc>pp cannot compiled because of “MaxSize” “MaxPackets” mismatched.
Kindly Regards
ertugrul.
On 12 Apr 2019, at 17:38, Klaus Schneider <klaus at cs.arizona.edu<mailto:klaus at cs.arizona.edu>> wrote:
You can look into the wscript file: https://github.com/named-data-ndnSIM/ns-3-dev/blob/ndnSIM-ns-3.29/wscript
Depending on the ndnSIM version there should be either a command line option:
opt.add_option('--cxx-standard',
help=('Compile NS-3 with the given C++ standard'),
type='string', default='-std=c++14', dest='cxx_standard')
or a hard-coded flag
env.append_value('CXXFLAGS', '-std=c++11')
Best regards,
Klaus
On 4/12/19 2:06 AM, Ertugrul DOGRULUK via ndnSIM wrote:
Dear Spyridon,
The 2.7 come with c++14 compiler. However when I try to install 2.6 with 11, the compiler tries to build on 14, then it fails.
Is there any command to change compiler version in waf configure
Cheers.
Ertugrul.
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190414/69adec80/attachment.html>
More information about the ndnSIM
mailing list