<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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.<div class=""><br class=""></div><div class="">-</div><div class="">Alex<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 3, 2019, at 4:37 AM, κΉ€ν•™μ„œ <<a href="mailto:tuple@etri.re.kr" class="">tuple@etri.re.kr</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear all,<br class=""><br class="">I am trying to install ndnsim 2.7 on Mac OS Mojave.<br class=""><br class="">The following error occurred.<br class="">My boost version is boost-1.69.0_2.<br class=""><br class="">May I know how I can solve it.<br class=""><br class="">Best Regards,<br class="">HS Kim<br class=""><br class=""><br class="">======================<br class="">using std::experimental::basic_string_view;<br class="">      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">      std::basic_string_view<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:194:28: note: 'std::basic_string_view' declared here<br class="">class _LIBCPP_TEMPLATE_VIS basic_string_view {<br class="">                           ^<br class="">In file included from ../src/ndnSIM/NFD/daemon/fw/algorithm.cpp:26:<br class="">In file included from ../src/ndnSIM/NFD/daemon/fw/algorithm.hpp:29:<br class="">In file included from ns3/ndnSIM/NFD/core/scope-prefix.hpp:29:<br class="">In file included from ns3/ndnSIM/NFD/core/common.hpp:66:<br class="">In file included from ns3/ndnSIM/ndn-cxx/net/face-uri.hpp:35:<br class="">In file included from /opt/local/include/boost/asio/ip/tcp.hpp:19:<br class="">In file included from /opt/local/include/boost/asio/basic_socket_acceptor.hpp:20:<br class="">In file included from /opt/local/include/boost/asio/basic_socket.hpp:40:<br class="">In file included from /opt/local/include/boost/asio/detail/reactive_socket_service.hpp:22:<br class="">In file included from /opt/local/include/boost/asio/buffer.hpp:27:<br class="">/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'?<br class="">using std::experimental::string_view;<br class="">      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br class="">      std::string_view<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:770:37: note: 'std::string_view' declared here<br class="">typedef basic_string_view<char>     string_view;<br class="">                                    ^<br class="">3 errors generated.<br class=""><br class="">Waf: Leaving directory `/Users/tuple/Downloads/work/ndnSIM/ns-3/build'<br class="">Build failed<br class=""> -> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information)<br class=""> -> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information)<br class=""> -> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information)<br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class=""></div></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">______________<br class="">Alex Afanasyev<br class="">Assistant Professor, SCIS, Florida International University<br class="">11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199<br class="">phone: +1.305.348.4960 (office); <a href="mailto:aa@cs.fiu.edu" class="">email: aa@cs.fiu.edu</a><br class="">web: <a href="https://users.cs.fiu.edu/~afanasyev/" class="">https://users.cs.fiu.edu/~afanasyev/</a><br class=""><br class=""></div>

</div>
<br class=""></div></body></html>