Open lori0726 opened 6 years ago
/usr/bin/ld: cannot find -lopencv_dep_cudart collect2: error: ld returned 1 exit status src/caffe/CMakeFiles/caffe.dir/build.make:3258: recipe for target 'lib/libcaffe.so.1.0.0-rc3' failed make[2]: [lib/libcaffe.so.1.0.0-rc3] Error 1 CMakeFiles/Makefile2:272: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed make[1]: [src/caffe/CMakeFiles/caffe.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2
I got the error,what should I do?
opencv lib is not linked
/usr/bin/ld: cannot find -lopencv_dep_cudart collect2: error: ld returned 1 exit status src/caffe/CMakeFiles/caffe.dir/build.make:3258: recipe for target 'lib/libcaffe.so.1.0.0-rc3' failed make[2]: [lib/libcaffe.so.1.0.0-rc3] Error 1 CMakeFiles/Makefile2:272: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed make[1]: [src/caffe/CMakeFiles/caffe.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2
I got the error,what should I do?