[ndnSIM] C++ Compiler issue on ndnsim 2.6

Klaus Schneider klaus at cs.arizona.edu
Fri Apr 12 09:38:13 PDT 2019


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
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> 


More information about the ndnSIM mailing list