[root@DESKTOP-31LJ6LM ~/g101/h1/build]
$ cmake ..
-- OpenCV ARCH:
-- OpenCV RUNTIME:
-- OpenCV STATIC: OFF
CMake Warning at /mnt/e/DevelopeTools/opencv/opencv/build/OpenCVConfig.cmake:190 (message):
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):
Found package configuration file:
/mnt/e/DevelopeTools/opencv/opencv/build/OpenCVConfig.cmake
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.
-- Configuring incomplete, errors occurred!
See also "/root/g101/h1/build/CMakeFiles/CMakeOutput.log".
标签:cmake,package,--,opencv,wrong,build,OpenCV
From: https://www.cnblogs.com/Knight02/p/16736474.html