[ndnSIM] compilation error of ndn-global-routing-helper
Spyridon (Spyros) Mastorakis
spiros.mastorakis at gmail.com
Fri Aug 21 10:51:03 PDT 2015
Hi,
Either you need to fetch the latest commit of ndn-cxx and ndnSIM and compile it with C++11 support, or your compiler does not support C++11 (in this case you need to update your compiler).
--
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science
UCLA
> On Aug 21, 2015, at 6:46 AM, rihab jmal <rihab.jmal1 at gmail.com> wrote:
>
> Hi,
> i need to work with ndn-global-routing-helper, when i compile it the following errors appear:
> g++ -Wall -c "ndn-global-routing-helper.cpp" (dans le dossier : /home/rihab/ndnSIM/ns-3/src/ndnSIM/helper)
> In file included from /usr/local/include/ndn-cxx/interest.hpp:25:0,
> from /home/rihab/ndnSIM/ns-3/src/ndnSIM/model/ndn-common.hpp:28,
> from ndn-global-routing-helper.hpp:23,
> from ndn-global-routing-helper.cpp:26:
> /usr/local/include/ndn-cxx/common.hpp:63:4: error: #error "ndn-cxx applications must be compiled using the C++11 standard"
> # error "ndn-cxx applications must be compiled using the C++11 standard"
> ^
> In file included from /usr/include/c++/4.8/cstdint:35:0,
> from /usr/local/include/ndn-cxx/common.hpp:67,
> from /usr/local/include/ndn-cxx/interest.hpp:25,
> from /home/rihab/ndnSIM/ns-3/src/ndnSIM/model/ndn-common.hpp:28,
> from ndn-global-routing-helper.hpp:23,
> from ndn-global-routing-helper.cpp:26:
> /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
> #error This file requires compiler and library support for the \
> ^
> ndn-global-routing-helper.cpp:28:37: fatal error: model/ndn-l3-protocol.hpp: No such file or directory
> #include "model/ndn-l3-protocol.hpp"
> ^
> compilation terminated.
> Compilation échouée.
> Please help me, any suggestion !!
>
> Best Regards,
> Rihab
> _______________________________________________
> 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