BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
33.96k stars 18.72k forks source link

opencv_world library #6985

Open astropiu opened 3 years ago

astropiu commented 3 years ago

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?