caffe的安装方法参考此博客https://blog.csdn.net/A_Z666666/article/details/72853346
运行make all时报错:
~/caffe$ make all -j4
CXX/LD -o .build_release/examples/cpp_classification/classification.bin
/usr/bin/ld: warning: libopencv_core.so.3.4, needed by //usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so, may conflict with libopencv_core.so.2.4
/usr/bin/ld: .build_release/examples/cpp_classification/classification.o: undefined reference to symbol '_ZN2cv6String10deallocateEv'
//usr/local/lib/x86_64-linux-gnu/libopencv_core.so.3.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [.build_release/examples/cpp_classification/classification.bin] Error 1
可能原因:
1)没有创建libopencv_core.so.3.4的软链接
解决方法:
到opencv的安装路径下,复制libopencv_core.so&#