Why can't I build my package? I get this error with cv_bridge. I don't understand myself. Im using ROS Indigo, OpenCV 3.3.1 and using a dual boot not VM machine
CMake Error at /opt/ros/indigo/share/cv_bridge/cmake/cv_bridgeConfig.cmake:106 (message): Project 'cv_bridge' specifies '/usr/include/opencv' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/opt/ros/indigo//usr/include/opencv'. Ask the maintainer 'Vincent Rabaud vincent.rabaud@gmail.com' to fix it. Call Stack (most recent call first): /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package) a3_help/CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/zaz/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/zaz/catkin_ws/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
Please format your question properly: a short and to the point title, a description of the problem in the body and any console text or program output formatted using the Preformatted Text button (the one with
101010
on it).Afaik, ROS Indigo is built for/with OpenCV 2, not 3. Did you build OpenCV 3 from source? If so, you'll have to build all the
vision_opencv
packages from source as well.Im sorry for the format. This is my first time using this forum. How do you build the vision_opencv? go back to my opencv folder ?
To build
vision_opencv
from source, you will have to download the code and compile it on your~/catkin_ws/src
. Something like:alrighty thank you all