I am getting the following error when I run cmake . command-
-- OpenCV ARCH:
-- OpenCV RUNTIME:
-- OpenCV STATIC: ON
CMake Warning at /home/aryastark/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (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:11 (find_package)
CMake Error at CMakeLists.txt:11 (find_package):
Found package configuration file:
I solved the problem. If anyone else is facing the same problem change the command in the following way
cmake . -DOpenCV_DIR=PathWhereOpenCVisPresent/opencv-3.1.0/build/
I am getting the following error when I run cmake . command-
-- OpenCV ARCH: -- OpenCV RUNTIME: -- OpenCV STATIC: ON CMake Warning at /home/aryastark/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (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:11 (find_package)
CMake Error at CMakeLists.txt:11 (find_package): Found package configuration file:
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND.
-- Configuring incomplete, errors occurred! See also "/home/aryastark/fastfusion/CMakeFiles/CMakeOutput.log".
How should I resolve this?