Project

General

Profile

Task #1146

compile error in ndnputchunks3.cpp

Added by Junxiao Shi over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Target version:
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}’
#1

Updated by Alex Afanasyev over 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.

#2

Updated by Alex Afanasyev over 7 years ago

  • Status changed from New to Feedback
#3

Updated by Alex Afanasyev over 7 years ago

  • Status changed from Feedback to Closed
#4

Updated by Alex Afanasyev over 7 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF