[ndnSIM] Problem in installing nlsrSIM alone

Mahsa Aghajani mahsa.aghajani at gmail.com
Mon Jan 30 03:31:10 PST 2017


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);

thanks for your attention.

On Mon, Jan 30, 2017 at 2:57 PM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Hi Mahsa
>
> Exactly what error?
> See http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2016-May/001748.html
> on how to effectively ask for help.
>
> Yours, Junxiao
>
> On Mon, Jan 30, 2017 at 04:13 Mahsa Aghajani <mahsa.aghajani at gmail.com>
> wrote:
>
>> Hello
>> I want to install nlsrSIM alone instead of installing it together with
>> ndnSIM-NLSR,
>> but after the ./waf command,  in face-Controller.cpp file, the
>> installation process runs into some errors.
>> I appreciate if you help me figure out why this happens so I can install
>> this application.
>> Thanks.
>>
>> --
>>
>> Mahsa Aghajani
>> M.Sc. Student
>> Department of Computer Engineering
>> Sharif University of Technology
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>


-- 

Mahsa Aghajani
M.Sc. Student
Department of Computer Engineering
Sharif University of Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170130/b78cb895/attachment-0001.html>


More information about the ndnSIM mailing list