Tried to catkin_make hector_exploration -> could not found Open CV

asked 2015-04-08 04:52:04 -0500

ortauq gravatar image

Hi, i tried to install hector_exploration with catkin_make on Ubuntu. But it stops during hector_costmap. It seems it does not find OpenCV. But OpenCV is installed, and it should work. Because RTAB-Map also works and RTAB-Map requires OpenCV.

Here is the error-message during catkin_make. Please, help!

-- +++ processing catkin package: 'hector_costmap'
-- ==> add_subdirectory(hector_costmap)
-- Using these message generators: gencpp;genlisp;genpy
-- OpenCV ARCH: 
-- OpenCV RUNTIME: 
-- OpenCV STATIC: OFF
CMake Warning at /home/stefanubuntulaptop/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):
  hector_costmap/CMakeLists.txt:20 (find_package)


CMake Error at hector_costmap/CMakeLists.txt:20 (find_package):
  Found package configuration file:

    /home/stefanubuntulaptop/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/stefanubuntulaptop/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/stefanubuntulaptop/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
edit retag flag offensive close merge delete