How can I fix this error, anybody can help me out ?
Error log :
CMake Warning at C:/library/opencv/build/OpenCVConfig.cmake:190 (message):
Found OpenCV Windows Pack but it has no binaries compatible with your
configuration.
You should manually point CMake variable OpenCV_DIR to your build of OpenCV
library.
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)
CMake Error at CMakeLists.txt:7 (find_package):
Found package configuration file:
C:/library/opencv/build/OpenCVConfig.cmake
but it set OpenCV_FOUND to FALSE so package “OpenCV” is considered to be
NOT FOUND.
IF you have a (recent) visual studio, you can use the prebuilt libs
(but then i dont really understand your question …)
if you only have mingw, you need to build from src first
I have built opencv from src, and use “mingw32-make and mingw32-install”. But I still get error when I use opencv, Can you tell me how do I know if my opencv is installed correctly?
sorry, most of the confusion here is my bad, did not read #1 properly.
can you try to run make install again, and point it to a different (from ‘build’) folder ? then point your local cmake file to that ?
(‘build’ is a terrible location to install)