tum-vision / fastfusion

Volumetric 3D Mapping in Real-Time on a CPU
GNU General Public License v2.0
559 stars 173 forks source link

Error at cmake . step #25

Closed mayankamedhe closed 6 years ago

mayankamedhe commented 6 years ago

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:

/home/aryastark/opencv-3.1.0/cmake/OpenCVConfig.cmake

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?

mayankamedhe commented 6 years ago

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/