cheind/image-align

Build Error By CMake

maobaoqi opened this issue · 3 comments

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!

The file can be found in the OpenCV directory inside the build directory (on Windows). Not sure where it is located on other platforms.

The reason here maybe:
(1)you don't install opencv;
(2)you don't modify the path of OpenCVConfig in the code

On Windows you get OpenCVConfig.cmake shipped with OpenCV within the build directory.