<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">it has to do with the boost API that has changed. Either use an older version of boost or use the most recent version of ndnSIM.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Apr 11, 2018, at 6:27 PM, 时间 <<a href="mailto:netmedia@foxmail.com" class="">netmedia@foxmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">Dear all, </div><div style="font-variant-ligatures: normal; orphans: 2; widows: 2;" class=""><br class=""></div><div style="font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">I am using ndnSIM 2.4 on MacOS.</div><div style="font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">It was working fine until I tried to update the dependencies for NS-3 Python bindings via MacPorts.</div><div style="font-variant-ligatures: normal; orphans: 2; widows: 2;" class=""><br class=""></div><div style="font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">The compilation now stopped with the following error. </div><div style="font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">---------------------------------------------------------------------------------------------------------------------------------------------</div><div style="font-variant-ligatures: normal; orphans: 2; widows: 2;" class=""><div style="line-height: normal; margin: 0px; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; font-stretch: normal; font-family: Menlo;" class=""><span class="s1" style="font-variant-ligatures: no-common-ligatures;">ns3/ndnSIM/ndn-cxx/util/face-uri.hpp:179:25: error: no type named 'io_service' in namespace 'boost::asio'</span></div><div style="line-height: normal; margin: 0px; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; font-stretch: normal; font-family: Menlo;" class=""><span class="s1" style="font-variant-ligatures: no-common-ligatures;">           boost::asio::io_service& io, const time::nanoseconds& timeout) const;</span></div><div class="">---------------------------------------------------------------------------------------------------------------------------------------------</div><div class=""><br class=""></div><div class="">BUT the same code can be compiled on Ubuntu without any error.</div><div class="">I also tried the latest ndnSIM (2.5), it is working fine on my MacOS.</div><div class=""><br class=""></div><div class=""><span style="font-family: "lucida Grande", Verdana;" class="">Is there anyone who knows about this problem?</span></div><div class=""><span style="font-family: "lucida Grande", Verdana;" class="">Any guidance is appreciated.</span><br style="font-family: "lucida Grande", Verdana;" class=""></div><div class=""><span style="font-family: "lucida Grande", Verdana;" class=""><br class=""></span></div><div class=""><span style="font-family: "lucida Grande", Verdana;" class="">BR,</span></div><div class=""><span style="font-family: "lucida Grande", Verdana;" class="">Ming</span></div></div></div></div></blockquote></div><br class=""></div></body></html>