-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failed when running "./waf" #106
Comments
Which platform / compiler are you using? |
Thanks for your reply. I am using Ubuntu 16.04 LTS. |
I suggest you upgrade to at least 18.04. 16.04 has a bit too old compiler (or get a newer compiler, either clang or gcc, if you really don't want the upgrade). |
How to get a newer compiler? I am afraid that upgrading will affect my project. |
You can try to follow these https://itectec.com/ubuntu/ubuntu-how-to-install-gcc-7-or-clang-4-0/ |
Ok, I'll try. Thanks a lot. |
I have installed the gcc 7 and I now I get this error: [2400/3107] Compiling src/ndnSIM/ndn-cxx/ndn-cxx/security/transform/buffer-source.cpp Waf: Leaving directory `/home/zakaria/ndnSIM2/ns-3/build' |
Cannot say, really. This looks like gcc issue (or you don't have enough memory on your linux box / VM). You could try compiling slower with |
Thanks, Alex. I have checked the space and I found 9 GB left. I think it is enough, so I tried with I have a question, please: does the last release of ndnSIM use the last release of ns-3? If not, how can we update the ns-3 version installed with ndnSIM? |
Hi every one,
I am installing ndnSIM and I get this message when I run "./waf"
[2236/3107] Compiling src/ndnSIM/helper/lfid/ndn-global-routing-helper-lfid.cpp
[2237/3107] Compiling src/ndnSIM/NFD/daemon/face/lp-reassembler.cpp
[2238/3107] Compiling src/ndnSIM/NFD/daemon/common/privilege-helper.cpp
In file included from ns3/ndnSIM/ndn-cxx/lp/fields.hpp:28:0,
from ns3/ndnSIM/ndn-cxx/lp/packet.hpp:25,
from ../src/ndnSIM/model/ndn-block-header.cpp:29:
ns3/ndnSIM/ndn-cxx/lp/geo-tag.hpp:95:60: error: converting to ‘std::tuple<double, double, double>’ from initializer list would use explicit constructor ‘constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {double, double, double}; = void; _Elements = {double, double, double}]’
std::tuple<double, double, double> m_pos = {0.0, 0.0, 0.0};
^
In file included from ns3/ndnSIM/ndn-cxx/lp/fields.hpp:28:0,
from ns3/ndnSIM/ndn-cxx/lp/packet.hpp:25,
from ../src/ndnSIM/NFD/daemon/face/lp-reassembler.hpp:31,
from ../src/ndnSIM/NFD/daemon/face/lp-reassembler.cpp:26:
ns3/ndnSIM/ndn-cxx/lp/geo-tag.hpp:95:60: error: converting to ‘std::tuple<double, double, double>’ from initializer list would use explicit constructor ‘constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {double, double, double}; = void; _Elements = {double, double, double}]’
std::tuple<double, double, double> m_pos = {0.0, 0.0, 0.0};[2236/3107] Compiling src/ndnSIM/helper/lfid/ndn-global-routing-helper-lfid.cpp
[2237/3107] Compiling src/ndnSIM/NFD/daemon/face/lp-reassembler.cpp
[2238/3107] Compiling src/ndnSIM/NFD/daemon/common/privilege-helper.cpp
In file included from ns3/ndnSIM/ndn-cxx/lp/fields.hpp:28:0,
from ns3/ndnSIM/ndn-cxx/lp/packet.hpp:25,
from ../src/ndnSIM/model/ndn-block-header.cpp:29:
ns3/ndnSIM/ndn-cxx/lp/geo-tag.hpp:95:60: error: converting to ‘std::tuple<double, double, double>’ from initializer list would use explicit constructor ‘constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {double, double, double}; = void; _Elements = {double, double, double}]’
std::tuple<double, double, double> m_pos = {0.0, 0.0, 0.0};
^
In file included from ns3/ndnSIM/ndn-cxx/lp/fields.hpp:28:0,
from ns3/ndnSIM/ndn-cxx/lp/packet.hpp:25,
from ../src/ndnSIM/NFD/daemon/face/lp-reassembler.hpp:31,
from ../src/ndnSIM/NFD/daemon/face/lp-reassembler.cpp:26:
ns3/ndnSIM/ndn-cxx/lp/geo-tag.hpp:95:60: error: converting to ‘std::tuple<double, double, double>’ from initializer list would use explicit constructor ‘constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {double, double, double}; = void; _Elements = {double, double, double}]’
std::tuple<double, double, double> m_pos = {0.0, 0.0, 0.0};
Waf: Leaving directory `/home/zakaria/ndnSIM2/ns-3/build'
Build failed
-> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information)
-> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information)
Could you help me, please?
My best regards.
The text was updated successfully, but these errors were encountered: