[Nfd-dev] ndn-cxx compiling problem

Weiwei Liu summerwing10 at gmail.com
Tue Oct 18 23:50:00 PDT 2016


Dear folks,

I'm getting errors when compiling ndn-cxx with tests. Does anyone know what
is causing this problem?

Here is some detailed information:

ndn-cxx 010f0868cd204f75f661acc4320803d783786213
OSX 10.10.5 LLVM version 7.0.2 (clang-700.1.81)

*[170/304] Compiling tests/unit-tests/util/io.t.cpp*

*[171/304] Compiling tests/unit-tests/util/log-module1.cpp*

*[172/304] Compiling tests/unit-tests/util/notification-stream.t.cpp*

*../tests/unit-tests/util/log-module1.cpp:33:3: error: invalid operands to
binary expression ('basic_record_ostream<char_type>' and
'::ndn::util::LoggerTimestamp')*

*  NDN_LOG_TRACE("trace" << 1);*

*  ^~~~~~~~~~~~~~~~~~~~~~~~~~~*

*/Users/weiweiliu/development/ndn-cxx/src/util/logger.hpp:137:35: note:
expanded from macro 'NDN_LOG_TRACE'*

*#define NDN_LOG_TRACE(expression) NDN_LOG(TRACE, TRACE, expression)*

*                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

*/Users/weiweiliu/development/ndn-cxx/src/util/logger.hpp:128:40: note:
expanded from macro 'NDN_LOG'*

*      NDN_BOOST_LOG(getNdnCxxLogger()) << ::ndn::util::LoggerTimestamp{} \*

*      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

*... ...*


Thanks,

Weiwei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20161018/77ce1058/attachment.html>


More information about the Nfd-dev mailing list