Erro de caminho OpenCV no cmake

1

Sempre que tento criar e instalar qualquer biblioteca que depende do OpenCV, o cmake dessa biblioteca gera o seguinte erro,

-- OpenCV ARCH: 

-- OpenCV RUNTIME: 

-- OpenCV STATIC: OFF

CMake Warning at /home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake:161 (message):
  Found OpenCV Windows Pack but it has not 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:4 (find_package)


CMake Error at CMakeLists.txt:4 (find_package):
  Found package configuration file:

    /home/wizviz/opencv-2.4.9/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/wizviz/dataset-tools-master/release/CMakeFiles/CMakeOutput.log".

Trata-se de adicionar o OpenCV ao ambiente Ubuntu 16.04? Como resolvo isso?

    
por SUMIT SARKAR 20.02.2018 / 07:52

0 respostas