<div dir="ltr">Junxiao,<div><br></div><div>I'm trying to run ndn-ping scenario (<a href="https://github.com/named-data-ndnSIM/scenario-ndn-ping">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><br></div><div>Bests,</div><div>- Chavoosh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 17, 2018 at 4:08 PM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi Chavoosh<span class=""><br><div class="gmail_extra" dir="auto"><div class="gmail_quote"><br><blockquote class="m_8449624020783115782quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><font size="1">../ndn-tools/tools/ping/client<wbr>/ping.cpp:39:17: error: ‘random’ is not a class, namespace, or enumeration</font></div><div><font size="1">     m_nextSeq = random::generateWord64();</font></div><div><font size="1">                 ^~~~~~</font></div></div></div></blockquote></div></div></span><div dir="auto">Missing include <ndn-cxx/util/random.hpp>.</div><span class=""><div dir="auto"><br></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="m_8449624020783115782quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><font size="1">../ndn-tools/tools/ping/client<wbr>/ping.cpp: In member function ‘void ndn::ping::client::Ping::perfo<wbr>rmPing()’:</font></div><div><font size="1">../ndn-tools/tools/ping/client<wbr>/ping.cpp:68:69: error: no matching function for call to ‘ndn::Face::expressInterest(nd<wbr>n::Interest&, std::_Bind_helper<false, void (ndn::ping::client::Ping::*)(c<wbr>onst ndn::Interest&, ndn::Data&, long unsigned int, const boost::chrono::time_point<ndn:<wbr>:time::steady_clock>&), ndn::ping::client::Ping*, const std::_Placeholder<1>&, const std::_Placeholder<2>&, long unsigned int&, boost::chrono::time_point<ndn:<wbr>:time::steady_clock, boost::chrono::duration<long int, boost::ratio<1l, 1000000000l> > > >::type, std::_Bind_helper<false, void (ndn::ping::client::Ping::*)(c<wbr>onst ndn::Interest&, long unsigned int), ndn::ping::client::Ping*, const std::_Placeholder<1>&, long unsigned int&>::type)’</font></div><div><font size="1">                          bind(&Ping::onTimeout, this, _1, m_nextSeq));</font></div><div><font size="1">                                                                     ^</font></div><div><font size="1">In file included from /home/vagrant/ns-dev/scenario-<wbr>ndn-ping/ndn-tools/core/common<wbr>.hpp:61:0,</font></div><div><font size="1">                 from ../ndn-tools/tools/ping/client<wbr>/ping.hpp:26,</font></div><div><font size="1">                 from ../ndn-tools/tools/ping/client<wbr>/ping.cpp:23:</font></div><div><font size="1">/home/vagrant/ns-dev/ns-3/buil<wbr>d/ns3/ndnSIM/ndn-cxx/face.hpp:<wbr>229:3: note: candidate: const ndn::PendingInterestId* ndn::Face::expressInterest(con<wbr>st ndn::Interest&, const DataCallback&, const NackCallback&, const TimeoutCallback&)</font></div><div><font size="1">   expressInterest(const Interest& interest,</font></div><div><font size="1">   ^~~~~~~~~~~~~~~</font></div><div><font size="1">/home/vagrant/ns-dev/ns-3/buil<wbr>d/ns3/ndnSIM/ndn-cxx/face.hpp:<wbr>229:3: note:   candidate expects 4 arguments, 3 provided</font></div></div></div></blockquote></div></div></span><div dir="auto">You are using an expressInterest overload that was deprecated and then removed. Rewrite the code with the current API.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34)"><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><i style="color:rgb(0,0,0)"><b>Chavoosh Ghasemi</b></i><br><span style="color:rgb(153,153,0)"><br><span style="color:rgb(153,0,0)">Ph.D. Student in Computer Networking</span></span></span></font><span style="color:rgb(153,0,0)"><span style="font-family:georgia,serif"> </span><span style="font-family:georgia,serif"><br>University of Arizona - Computer Science Department</span><font size="1"><b><i><br></i></b></font></span></div><div style="color:rgb(34,34,34)"><span style="color:rgb(204,0,0)"><font size="1"><b><i>Address: Gould-Simpson 721B, </i></b></font><font size="1"><b><i>1040 E. 4th Street,<br></i></b></font></span></div><div dir="ltr" style="color:rgb(34,34,34)"><span style="color:rgb(153,0,0)"><font size="1"><b><i><span style="color:rgb(204,0,0)">                 Tucson, AZ 85721</span><br><br>"The <i>quieter</i> you become, the <i>more you can hear"</i></i></b></font></span></div></div></div></div></div>
</font></span>
</div></div></div></div>
</div>