用cMake编译vs工程
CMake Error at CMakeLists.txt:4 (find_package):
By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenCV", but
CMake did not find one.
Could not find a package configuration file provided by "OpenCV" with any
of the following names:
OpenCVConfig.cmake
opencv-config.cmake
Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.
开始没看懂,折腾好久,,
好了发现这段话意思是找到OpenCVConfig.cmake或者opencv-config.cmake所在目录作为OpenCV_DIR的目录,改好了,就ok.
the ability of using English is way important!!!!!!!!!!