[Ndn-interest] "Function 'bind' could not be resolved".

antil janu antil.janu at gmail.com
Mon Apr 20 13:21:21 PDT 2015


Hello,

I followed the example code given here:
http://named-data.net/doc/ndn-cxx/current/examples.html. Created
corresponding src/header files in Eclipse (CDT) environment. Also
configured the "include" paths so that ndn-cxx and boost headers are
referenced correctly.

I get the error from following lines in all three Class(s) files.

    m_face.expressInterest(interest,
                                           bind(&Consumer::onData, this,
 _1, _2),
                                           bind(&Consumer::onTimeout, this,
_1));

The error says - "Function 'bind' could not be resolved".

How do we fix this problem? These are ndn-cxx example program, but I want
to build them outside ndn-cxx path. Do I have to write the wscript file for
this and how?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150420/fd3e5b58/attachment.html>


More information about the Ndn-interest mailing list