Build Error By CMake
maobaoqi opened this issue · 3 comments
maobaoqi commented
I have a problem when I build this project using cmake. It shows that I need to have a OpenCVConfig.cmake file to point. But where is the suitable OpenCVConfig.cmake file? Could anyone help me? thanks!
cheind commented
The file can be found in the OpenCV directory inside the build directory (on Windows). Not sure where it is located on other platforms.
YYimingWang commented
The reason here maybe:
(1)you don't install opencv;
(2)you don't modify the path of OpenCVConfig in the code
cheind commented
On Windows you get OpenCVConfig.cmake shipped with OpenCV within the build directory.