Task #1146
compile error in ndnputchunks3.cpp
Start date:
01/24/2014
Due date:
01/24/2014
% Done:
100%
Estimated time:
1.00 h
Description
cawka/ndn-cpp, commit 8f24d0c49751b6e6e4ff345a574a192d97bdbaba
libtool: link: g++ -g -O2 -o .libs/ndncatchunks3 ndncatchunks3.o ../.libs/libndn-cpp-dev.so -lboost_system g++ -DHAVE_CONFIG_H -I. -I../include -g -O2 -MT ndnputchunks3.o -MD -MP -MF .deps/ndnputchunks3.Tpo -c -o ndnputchunks3.o ndnputchunks3.cpp In file included from ndnputchunks3.cpp:22:0: ../include/ndn-cpp-dev/security/key-chain.hpp:385:22: error: ‘SecPublicInfoSqlite3’ was not declared in this scope ../include/ndn-cpp-dev/security/key-chain.hpp:385:54: error: template argument 1 is invalid ../include/ndn-cpp-dev/security/key-chain.hpp:385:64: error: invalid type in declaration before ‘;’ token ndnputchunks3.cpp: In constructor ‘Producer::Producer(const char*)’: ndnputchunks3.cpp:51:24: error: request for member ‘sign’ in ‘((Producer*)this)->Producer::m_keychain’, which is of non-class type ‘ndn::KeyChain {aka int}’
Updated by Alex Afanasyev about 7 years ago
- Due date set to 01/24/2014
- Assignee changed from Yingdi Yu to Alex Afanasyev
- Estimated time set to 1.00 h
I will make sqlite3 mandatory dependency. This will solve the reported problem by not allowing ndn-cpp-dev to compile when sqlite3 not present.