[ndnSIM] Problem in installing nlsrSIM alone

Junxiao Shi shijunxiao at email.arizona.edu
Mon Jan 30 03:38:36 PST 2017


Hi Mahsa

It appears that the installed ndn-cxx version is higher than what nlsrSIM
expects. Either downgrade ndn-cxx or upgrade nlsrSIM until they are
compatible with each other.

Yours, Junxiao

On Mon, Jan 30, 2017 at 04:31 Mahsa Aghajani <mahsa.aghajani at gmail.com>
wrote:

> I am on ubuntu 14.04 64 bit, the error is this :
> [ 9/57] Compiling src/route/fib-entry.cpp
> ../src/utility/face-controller.cpp: In member function ‘void
> nlsr::util::FaceController::createFaceInNfd(const ndn::util::FaceUri&,
> const CommandSuccessCallback&, const CommandFailureCallback&)’:
> ../src/utility/face-controller.cpp:76:87: error: no matching function for
> call to ‘ndn::nfd::Controller::start(ndn::nfd::ControlParameters&, const
> CommandSuccessCallback&, const CommandFailureCallback&)’
>    m_controller.start<ndn::nfd::FaceCreateCommand>(faceParameters,
> onSuccess, onFailure);
>
>              ^
> ../src/utility/face-controller.cpp:76:87: note: candidate is:
> In file included from
> /usr/local/include/ndn-cxx/management/nfd-controller.hpp:25:0,
>                  from ../src/utility/face-controller.hpp:26,
>                  from ../src/utility/face-controller.cpp:22:
> /usr/local/include/ndn-cxx/mgmt/nfd/controller.hpp:75:3: note:
> template<class Command> void ndn::nfd::Controller::start(const
> ndn::nfd::ControlParameters&, const CommandSucceedCallback&, const
> CommandFailCallback&, const ndn::nfd::CommandOptions&)
>    start(const ControlParameters& parameters,
>    ^
> /usr/local/include/ndn-cxx/mgmt/nfd/controller.hpp:75:3: note:   template
> argument deduction/substitution failed:
> ../src/utility/face-controller.cpp:76:87: note:   cannot convert
> ‘onFailure’ (type ‘const CommandFailureCallback {aka const
> std::function<void(unsigned int, const std::basic_string<char>&)>}’) to
> type ‘const CommandFailCallback& {aka const std::function<void(const
> ndn::mgmt::ControlResponse&)>&}’
>    m_controller.start<ndn::nfd::FaceCreateCommand>(faceParameters,
> onSuccess, onFailure);
>

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170130/4fd9c60e/attachment.html>


More information about the ndnSIM mailing list