<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="">I will try to update the ndn ping app to the latest API soon.</div><div class=""><br class=""></div><div class="">In the meantime, there are a couple of other apps you can take a look at:</div><div class=""><br class=""></div><div class="">ChronoSync: <a href="https://github.com/spirosmastorakis/scenario-ChronoSync" class="">https://github.com/spirosmastorakis/scenario-ChronoSync</a></div><div class=""><br class=""></div><div class="">nTorrent (this one is a WIP by 2 masters students at UCLA): <a href="https://github.com/AkshayRaman/scenario-ntorrent" class="">https://github.com/AkshayRaman/scenario-ntorrent</a></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 class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Mar 18, 2018, at 10:27 AM, chavoosh ghasemi <<a href="mailto:chavoosh.ghasemi.off@gmail.com" class="">chavoosh.ghasemi.off@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Junxiao,<div class=""><br class=""></div><div class="">I'm trying to run ndn-ping scenario (<a href="https://github.com/named-data-ndnSIM/scenario-ndn-ping" class="">https://github.com/named-data-ndnSIM/scenario-ndn-ping</a>) without changing anything in the source code. I just clone the scenario and tried to compile it and faced the mentioned error. So, do you think I cannot run this scenario as it is? Is there any real application scenario that can run with the current API?</div><div class=""><br class=""></div><div class="">Bests,</div><div class="">- Chavoosh</div></div><div class="gmail_extra" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""><div class="gmail_quote">On Sat, Mar 17, 2018 at 4:08 PM, Junxiao Shi<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank" class="">shijunxiao@email.arizona.edu</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="auto" class="">Hi Chavoosh<span class=""><br class=""><div class="gmail_extra" dir="auto"><div class="gmail_quote"><br class=""><blockquote class="m_8449624020783115782quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div class=""><div class=""><font size="1" class="">../ndn-tools/tools/ping/client<wbr class="">/ping.cpp:39:17: error: ‘random’ is not a class, namespace, or enumeration</font></div><div class=""><font size="1" class="">     m_nextSeq = random::generateWord64();</font></div><div class=""><font size="1" class="">                 ^~~~~~</font></div></div></div></blockquote></div></div></span><div dir="auto" class="">Missing include <ndn-cxx/util/random.hpp>.</div><span class=""><div dir="auto" class=""><br class=""></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="m_8449624020783115782quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div class=""><div class=""><font size="1" class="">../ndn-tools/tools/ping/client<wbr class="">/ping.cpp: In member function ‘void ndn::ping::client::Ping::perfo<wbr class="">rmPing()’:</font></div><div class=""><font size="1" class="">../ndn-tools/tools/ping/client<wbr class="">/ping.cpp:68:69: error: no matching function for call to ‘ndn::Face::expressInterest(nd<wbr class="">n::Interest&, std::_Bind_helper<false, void (ndn::ping::client::Ping::*)(c<wbr class="">onst ndn::Interest&, ndn::Data&, long unsigned int, const boost::chrono::time_point<ndn:<wbr class="">:time::steady_clock>&), ndn::ping::client::Ping*, const std::_Placeholder<1>&, const std::_Placeholder<2>&, long unsigned int&, boost::chrono::time_point<ndn:<wbr class="">:time::steady_clock, boost::chrono::duration<long int, boost::ratio<1l, 1000000000l> > > >::type, std::_Bind_helper<false, void (ndn::ping::client::Ping::*)(c<wbr class="">onst ndn::Interest&, long unsigned int), ndn::ping::client::Ping*, const std::_Placeholder<1>&, long unsigned int&>::type)’</font></div><div class=""><font size="1" class="">                         <span class="Apple-converted-space"> </span>bind(&Ping::onTimeout, this, _1, m_nextSeq));</font></div><div class=""><font size="1" class="">                                                                     ^</font></div><div class=""><font size="1" class="">In file included from /home/vagrant/ns-dev/scenario-<wbr class="">ndn-ping/ndn-tools/core/common<wbr class="">.hpp:61:0,</font></div><div class=""><font size="1" class="">                 from ../ndn-tools/tools/ping/client<wbr class="">/ping.hpp:26,</font></div><div class=""><font size="1" class="">                 from ../ndn-tools/tools/ping/client<wbr class="">/ping.cpp:23:</font></div><div class=""><font size="1" class="">/home/vagrant/ns-dev/ns-3/buil<wbr class="">d/ns3/ndnSIM/ndn-cxx/face.hpp:<wbr class="">229:3: note: candidate: const ndn::PendingInterestId* ndn::Face::expressInterest(con<wbr class="">st ndn::Interest&, const DataCallback&, const NackCallback&, const TimeoutCallback&)</font></div><div class=""><font size="1" class="">   expressInterest(const Interest& interest,</font></div><div class=""><font size="1" class="">   ^~~~~~~~~~~~~~~</font></div><div class=""><font size="1" class="">/home/vagrant/ns-dev/ns-3/buil<wbr class="">d/ns3/ndnSIM/ndn-cxx/face.hpp:<wbr class="">229:3: note:   candidate expects 4 arguments, 3 provided</font></div></div></div></blockquote></div></div></span><div dir="auto" class="">You are using an expressInterest overload that was deprecated and then removed. Rewrite the code with the current API.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Yours, Junxiao</div></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><span class=""><font color="#888888" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" style="color: rgb(34, 34, 34);" class=""><font color="#888888" class=""><span style="color: rgb(0, 0, 153); font-family: georgia, serif;" class=""><i style="" class=""><b class="">Chavoosh Ghasemi</b></i><br class=""><span style="color: rgb(153, 153, 0);" class=""><br class=""><span style="color: rgb(153, 0, 0);" class="">Ph.D. Student in Computer Networking</span></span></span></font><span style="color: rgb(153, 0, 0);" class=""><span style="font-family: georgia, serif;" class=""> </span><span style="font-family: georgia, serif;" class=""><br class="">University of Arizona - Computer Science Department</span><font size="1" class=""><b class=""><i class=""><br class=""></i></b></font></span></div><div style="color: rgb(34, 34, 34);" class=""><span style="color: rgb(204, 0, 0);" class=""><font size="1" class=""><b class=""><i class="">Address: Gould-Simpson 721B, </i></b></font><font size="1" class=""><b class=""><i class="">1040 E. 4th Street,<br class=""></i></b></font></span></div><div dir="ltr" style="color: rgb(34, 34, 34);" class=""><span style="color: rgb(153, 0, 0);" class=""><font size="1" class=""><b class=""><i class=""><span style="color: rgb(204, 0, 0);" class="">                 Tucson, AZ 85721</span><br class=""><br class="">"The <i class="">quieter</i> you become, the <i class="">more you can hear"</i></i></b></font></span></div></div></div></div></div></font></span></div></div></div></div></div><br class=""></div></blockquote></div><br class=""></div></body></html>