【发布时间】:2018-01-31 07:31:59
【问题描述】:
我是 CMake 的 OpenCV 新手,我是第一次在 Windows 上使用它,遇到了一些我在下面提到的问题。
CMake Error at CMakeLists.txt:10 (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" (requested
version 3.1.0) 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.
谁能给我一个分步解决方案。
【问题讨论】:
标签: visual-c++ cmake opencv3.1