一、问题详情
在ubuntu中使用CMake编译链接opencv库的程序时FIND_PACKAGE(OpenCV REQUIRED)报错,找不到opencv,信息如下:
Found OpenCV Windows Pack but it has no binaries compatible with your
configuration.
You should manually point CMake variable OpenCV_DIR to your build of OpenCV
library.
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)
CMake Error at CMakeLists.txt:4 (find_package