caffe icon indicating copy to clipboard operation
caffe copied to clipboard

opencv_world library

Open astropiu opened this issue 5 years ago • 0 comments

I have built opencv4.4 with opencv_world flag turned on. So, I only have a large single .so file which is opencv_world.so . But building caffe seems to need individual .so files of opencv:

CXX src/caffe/layer.cpp CXX src/caffe/parallel.cpp AR -o .build_release/lib/libcaffe.a LD -o .build_release/lib/libcaffe.so.1.0.0 /usr/bin/ld: cannot find -lopencv_core /usr/bin/ld: cannot find -lopencv_highgui /usr/bin/ld: cannot find -lopencv_imgproc collect2: error: ld returned 1 exit status make: *** [Makefile:583: .build_release/lib/libcaffe.so.1.0.0] Error 1

Is there any workaround this or do I need to rebuild opencv?

And also I was facing several issues with cudnn accelation on for cudnn 8.0. I suppose there isnt a fix to this yet?

  • CUDA version: 11
  • CUDNN version : 8
  • OpenCV : 4.4.0

astropiu avatar Nov 13 '20 13:11 astropiu