Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined ref curlpp::InfoTypeConverter #33

Closed
abhiguru opened this issue Jan 7, 2017 · 2 comments
Closed

Undefined ref curlpp::InfoTypeConverter #33

abhiguru opened this issue Jan 7, 2017 · 2 comments

Comments

@abhiguru
Copy link

abhiguru commented Jan 7, 2017

Trying to use DeepDetect which has a deps on curlpp

I install curlpp thru apt-get and removed and built (lib not the examples) from source using make and make install but I keep getting the same error in linking stage of DeepDetect

In function curlpp::Info<(CURLINFO)2097154, long>::get(curlpp::Easy&)': /usr/include/curlpp/Info.inl:39: undefined reference to curlpp::InfoTypeConverter::get(curlpp::Easy&, CURLINFO, long&)'
../src/libddetect.a(tflib.cc.o): In function curlpp::Info<(CURLINFO)2097154, long>::get(curlpp::Easy&)': /usr/include/curlpp/Info.inl:39: undefined reference to curlpp::InfoTypeConverter::get(curlpp::Easy&, CURLINFO, long&)'
../src/libddetect.a(xgbinputconns.cc.o): In function curlpp::Info<(CURLINFO)2097154, long>::get(curlpp::Easy&)': /usr/include/curlpp/Info.inl:39: undefined reference to curlpp::InfoTypeConverter::get(curlpp::Easy&, CURLINFO, long&)'
/usr/include/curlpp/Info.inl:39: undefined reference to `curlpp::InfoTypeConverter::get(curlpp::Easy&, CURLINFO, long&)'

Any pointers would be helpful

@abhiguru abhiguru closed this as completed Jan 7, 2017
@MartinThoma
Copy link

MartinThoma commented Mar 6, 2017

I also get this after

$ sudo apt-get remove libcurlpp0
$ git clone https://github.com/jpbarrette/curlpp.git
$ cd curlpp
$ cmake .
$ sudo make install

(See https://github.com/beniz/deepdetect/issues/126 )

edit: I simly had to run make clean and make again.

@jpbarrette
Copy link
Owner

Just to be safe, if you have this problem, please have a look at @MartinThoma comment on issue https://github.com/beniz/deepdetect/issues/126#issuecomment-284534843

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants