/usr/bin/x86_64-linux-gnu-ld: cannot find -lopencv_imgcodecs
collect2: error: ld returned 1 exit status
Makefile:584: recipe for target ‘.build_release/lib/libcaffe.so.1.0.0’ failed
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1
solution:
comment this line OPENCV_VERSION := 3 will be ok
cannot find -lopencv_imgcodecs and build_release/lib/libcaffe.so.1.0.0' failed for caffe
本文详细解析了在构建Caffe时遇到的与OpenCV_imgcodecs库链接失败的问题,提供了有效的解决方案,即注释掉指定OpenCV版本的行,确保编译过程顺利进行。

被折叠的 条评论
为什么被折叠?



