制作Caffe安装的所有错误消息:libopencv_imgproc.so.2.4和libopencv_core.so.2.4

时间:2019-01-30 14:52:42

标签: python-3.x ubuntu-16.04 caffe

在执行make all之后,收到有关在Ubuntu 16.04(GPU)上安装Caffe的说明,

/usr/bin/ld: warning: libopencv_core.so.2.4, needed by .build_release/lib/libcaffe.so, may conflict with libopencv_core.so.4.0
/usr/bin/ld: warning: libopencv_imgproc.so.2.4, needed by .build_release/lib/libcaffe.so, may conflict with libopencv_imgproc.so.4.0

我该如何避免此错误并继续按预期进行操作?

1 个答案:

答案 0 :(得分:0)

似乎您安装了几个冲突的OpenCV(2.4和4.0)。卸载不需要的文件,然后重新编译Caffe。