[Ndn-interest] ChronoChat build is failing.
Anil Jangam
anilj.mailing at gmail.com
Wed Feb 25 16:00:41 PST 2015
Hi List,
I am trying to build the ChronoChat application, and my build is
consistently failing due to following error log. Incidentally, I also see a
bug report logged couple of weeks back; want to know if this is fixed
already?
http://redmine.named-data.net/issues/2477
The compilation error is:
[58/79] Compiling src/main.cpp
../src/chatroom-info.cpp: In instantiation of ‘std::size_t
chronos::ChatroomInfo::wireEncode(ndn::encoding::EncodingImpl<P>&) const
[with bool T = false; std::size_t = long unsigned int]’:
../src/chatroom-info.cpp:94:46: required from here
../src/chatroom-info.cpp:75:85: error: ‘prependNonNegativeIntegerBlock’ was
not declared in this scope
totalLength += prependNonNegativeIntegerBlock(block, tlv::TrustModel,
m_trustModel);
^
../src/chatroom-info.cpp:75:85: note: suggested alternative:
In file included from /usr/local/include/ndn-cxx/name-component.hpp:27:0,
from /usr/local/include/ndn-cxx/name.hpp:30,
from /usr/local/include/ndn-cxx/interest.hpp:27,
from ../src/common.hpp:32,
from ../src/chatroom-info.hpp:14,
from ../src/chatroom-info.cpp:11:
/usr/local/include/ndn-cxx/encoding/block-helpers.hpp:55:1: note:
‘ndn::prependNonNegativeIntegerBlock’
prependNonNegativeIntegerBlock(EncodingImpl<P>& encoder, uint32_t type,
uint64_t number)
^
../src/chatroom-info.cpp: In instantiation of ‘std::size_t
chronos::ChatroomInfo::wireEncode(ndn::encoding::EncodingImpl<P>&) const
[with bool T = true; std::size_t = long unsigned int]’:
../src/chatroom-info.cpp:97:20: required from here
../src/chatroom-info.cpp:75:85: error: ‘prependNonNegativeIntegerBlock’ was
not declared in this scope
totalLength += prependNonNegativeIntegerBlock(block, tlv::TrustModel,
m_trustModel);
^
../src/chatroom-info.cpp:75:85: note: suggested alternative:
In file included from /usr/local/include/ndn-cxx/name-component.hpp:27:0,
from /usr/local/include/ndn-cxx/name.hpp:30,
from /usr/local/include/ndn-cxx/interest.hpp:27,
from ../src/common.hpp:32,
from ../src/chatroom-info.hpp:14,
from ../src/chatroom-info.cpp:11:
/usr/local/include/ndn-cxx/encoding/block-helpers.hpp:55:1: note:
‘ndn::prependNonNegativeIntegerBlock’
prependNonNegativeIntegerBlock(EncodingImpl<P>& encoder, uint32_t type,
uint64_t number)
^
cc1plus: warning: unrecognized command line option "-Wno-nested-anon-types"
[enabled by default]
In file included from ../src/chat-dialog.hpp:25:0,
from ../src/controller.hpp:26,
from ../src/main.cpp:14:
../src/digest-tree-scene.hpp:22:20: fatal error: Leaf.hpp: No such file or
directory
#include <Leaf.hpp>
^
compilation terminated.
/anil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150225/ee88fc76/attachment.html>
More information about the Ndn-interest
mailing list