Unable to build against libcurlpp 0.7.3.6
OS : Ubuntu OS 16.04 LTS (Virtual Image) CPU only No CUDA
Log:
[ 95%] Linking CXX executable dede
Reaping winning child 0x1e12d60 PID 5472
Live child 0x1e12d60 (main/dede) PID 5474
../src/libddetect.a(httpjsonapi.cc.o): In function curlpp::Info<(CURLINFO)2097154, long>::get(curlpp::Easy&)': /usr/include/curlpp/Info.inl:39: undefined reference to curlpp::InfoTypeConvertercurlpp::Info<(CURLINFO)2097154, long>::get(curlpp::Easy&)': /usr/include/curlpp/Info.inl:39: undefined reference to curlpp::InfoTypeConverter
have you looked at #126 ?
Attempted 02/14/2017. Re-attempted #126 following request. Same compile error.
Are you sure that you have executed the following:
sudo apt-get remove libcurlpp0
The line /usr/include/curlpp/ is suspicious, if you had compiled and curlpp from sources it should not be in /usr/include, but in /usr/local/include instead.

curlpp has not changed since March 2015, and I don't remember anyone reporting the problem above. So it is very likely something is wrongly set on your system. Try to locate libcurlpp.so maybe.
EDIT: I was using the wrong repo.
This has happened on multiple systems. Here's a question: When you compile DeepDetect should you have Caffe and TensorFlow already on your system? Or will DeepDetect manage that? With all due respect, the documentation isn't very clear when compiling from binary.
On Thu, Feb 16, 2017, 9:20 AM Emmanuel Benazera [email protected] wrote:
curlpp has not changed since March 2015, and I don't remember anyone reporting the problem above. So it is very likely something is wrongly set on your system. Try to locate libcurlpp.so maybe.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/beniz/deepdetect/issues/263#issuecomment-280342317, or mute the thread https://github.com/notifications/unsubscribe-auth/AFlZ3qC14RuecFoKY7qhYhAIe9Yt3SZGks5rdFsogaJpZM4MCgIT .
DD manages everything at build time.
That might be the problem.
On Thu, Feb 16, 2017, 9:45 AM Emmanuel Benazera [email protected] wrote:
DD manages everything at build time.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/beniz/deepdetect/issues/263#issuecomment-280349439, or mute the thread https://github.com/notifications/unsubscribe-auth/AFlZ3lMtzPRQC2Gn1SuT8C8Ry8vUgyLPks5rdGEkgaJpZM4MCgIT .
Rebuilt on a fresh image. Followed installation instructions, did not have Caffe or Tensorflow prior to attempted installation. Followed place holder in Issue #126. The following output:
rook@Lattice:/opt/curlpp$ cd ..
rook@Lattice:/opt$ cd deepdetect/
rook@Lattice:/opt/deepdetect$ cd build
rook@Lattice:/opt/deepdetect/build$ sudo cmake ..
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- thread
-- system
-- iostreams
-- chrono
-- date_time
-- atomic
-- regex
-- OpenCV 2 (2.4.9.1) found (/usr/share/OpenCV)
-- Configuring customized caffe
-- Build Tests : OFF
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/deepdetect/build
rook@Lattice:/opt/deepdetect/build$ sudo make
[ 33%] Built target caffe_dd
[ 91%] Built target ddetect
[ 95%] Linking CXX executable dede
../src/libddetect.a(httpjsonapi.cc.o): In function curlpp::Info<(CURLINFO)2097154, long>::get(curlpp::Easy&)': /usr/include/curlpp/Info.inl:39: undefined reference to curlpp::InfoTypeConvertercurlpp::Info<(CURLINFO)2097154, long>::get(curlpp::Easy&)': /usr/include/curlpp/Info.inl:39: undefined reference to curlpp::InfoTypeConverter
How did you install cURLpp?
Last version (which isn't packaged by ubuntu) shouldn't have this problem.
OK, I understand my mistake. For some reason, the repository I was building curlpp from was from datacritic... not yours @jpbarrette. I will test with the last version then and see whether I can reproduce this issue. EDIT: the up to date curlpp version by @jpbarrette works fine on my 16.10 laptop.