<div dir="auto">Hi Chavoosh<br><div class="gmail_extra" dir="auto"><div class="gmail_quote"><br><blockquote class="quote" 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/<wbr>client/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><div dir="auto">Missing include <ndn-cxx/util/random.hpp>.</div><div dir="auto"><br></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" 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/<wbr>client/ping.cpp: In member function ‘void ndn::ping::client::Ping::<wbr>performPing()’:</font></div><div><font size="1">../ndn-tools/tools/ping/<wbr>client/ping.cpp:68:69: error: no matching function for call to ‘ndn::Face::expressInterest(<wbr>ndn::Interest&, std::_Bind_helper<false, void (ndn::ping::client::Ping::*)(<wbr>const 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::*)(<wbr>const 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/<wbr>common.hpp:61:0,</font></div><div><font size="1">                 from ../ndn-tools/tools/ping/<wbr>client/ping.hpp:26,</font></div><div><font size="1">                 from ../ndn-tools/tools/ping/<wbr>client/ping.cpp:23:</font></div><div><font size="1">/home/vagrant/ns-dev/ns-3/<wbr>build/ns3/ndnSIM/ndn-cxx/face.<wbr>hpp:229:3: note: candidate: const ndn::PendingInterestId* ndn::Face::expressInterest(<wbr>const 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/<wbr>build/ns3/ndnSIM/ndn-cxx/face.<wbr>hpp:229:3: note:   candidate expects 4 arguments, 3 provided</font></div></div></div></blockquote></div></div><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>