Ask Your Question

davidbuckman's profile - activity

2020-09-10 22:47:05 -0600 received badge  Famous Question (source)
2018-03-14 17:53:28 -0600 received badge  Notable Question (source)
2017-04-03 16:36:38 -0600 received badge  Popular Question (source)
2016-03-06 01:21:49 -0600 asked a question Trying to use CMake and OpenCV

I'm getting the following error when trying to cmake a directory that has a CMakeList.txt and a file.cpp :

CMake Error at CMakeLists.txt:3 (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.

Any ideas? I've been looking around online, but can't find any concrete answers. Thanks!