These are chat archives for beniz/deepdetect
You should manually point CMake variable OpenCV_DIR to your build of OpenCV
Call Stack (most recent call first):
CMake Error at CMakeLists.txt:59 (find_package):
Found package configuration file:
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
/usr/local, what kind of system are you on ?
/usr/share/OpenCV/OpenCVConfig.cmake(OpenCV 2 I think) and
opencv-3.1.0/build/OpenCVConfig.cmake(OpenCV 3), the later being into the build repository
build/then link that with any other application
/usr/include/opencvand you can remove it via packages in all cases. I'd try that.
/usr/includeshould always be used first by any software
ldd build/lib/libcaffe.so | grep opencv libopencv_core.so.2.4 => /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4 (0x00007f4f90efd000) libopencv_highgui.so.2.4 => /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4 (0x00007f4f90cb3000) libopencv_imgproc.so.2.4 => /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4 (0x00007f4f90828000)