[ndnSIM] Comile Error(ndnsim2.7) on MacOS Mojave
김학서
tuple at etri.re.kr
Sat May 4 05:25:59 PDT 2019
Dear Alex,
Thank you for your replay.
I fixed my problem.
Best Regards,
HS Kim
2019. 5. 4. 오전 12:48, Alex Afanasyev <aa at cs.fiu.edu<mailto:aa at cs.fiu.edu>> 작성:
I don't think you're using boost 1.69. From what I see, your boost is pulled from MacPorts (I personally, don't recommend using it at this point), which has boot 1.66 and is known to have issue with XCode 10.2. I recommend removing macports, installing all dependencies with Homebrew (as described on website), then the error should go away. I have just double checked locally on MacOS 10.14 with boost 1.69.
-
Alex
On May 3, 2019, at 4:37 AM, 김학서 <tuple at etri.re.kr<mailto:tuple at etri.re.kr>> wrote:
Dear all,
I am trying to install ndnsim 2.7 on Mac OS Mojave.
The following error occurred.
My boost version is boost-1.69.0_2.
May I know how I can solve it.
Best Regards,
HS Kim
======================
using std::experimental::basic_string_view;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::basic_string_view
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:194:28: note: 'std::basic_string_view' declared here
class _LIBCPP_TEMPLATE_VIS basic_string_view {
^
In file included from ../src/ndnSIM/NFD/daemon/fw/algorithm.cpp:26:
In file included from ../src/ndnSIM/NFD/daemon/fw/algorithm.hpp:29:
In file included from ns3/ndnSIM/NFD/core/scope-prefix.hpp:29:
In file included from ns3/ndnSIM/NFD/core/common.hpp:66:
In file included from ns3/ndnSIM/ndn-cxx/net/face-uri.hpp:35:
In file included from /opt/local/include/boost/asio/ip/tcp.hpp:19:
In file included from /opt/local/include/boost/asio/basic_socket_acceptor.hpp:20:
In file included from /opt/local/include/boost/asio/basic_socket.hpp:40:
In file included from /opt/local/include/boost/asio/detail/reactive_socket_service.hpp:22:
In file included from /opt/local/include/boost/asio/buffer.hpp:27:
/opt/local/include/boost/asio/detail/string_view.hpp:33:7: error: no member named 'string_view' in namespace 'std::experimental'; did you mean 'std::string_view'?
using std::experimental::string_view;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::string_view
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here
typedef basic_string_view<char> string_view;
^
3 errors generated.
Waf: Leaving directory `/Users/tuple/Downloads/work/ndnSIM/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)
-> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information)
_______________________________________________
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
______________
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<mailto: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/20190504/f77cfa3c/attachment.html>
More information about the ndnSIM
mailing list