Libcaffe2_gpu.so: undefined reference to cv::String::allocate - Technical Help - DeepTalk - Deep Learning Community

Libcaffe2_gpu.so: undefined reference to cv::String::allocate

post by sabalaba on Feb 19, 2018

Having trouble installing the latest version of caffe2? The error says libcaffe2_gpu.so: undefined reference to cv::String::allocate. It looks like a conflict with OpenCV.

Potentially related to multiple / old versions of

OpenCV: Issue #1864 · facebookarchive/caffe2 · GitHub

Solution:

make uninstall in your OpenCV source folder.

2.0k views 1 link