Building ROS node with OpenCV2.2 includes
I am unsure how to use cmake build system properly. I need to use OpenCV2.2 headers from my code but receive errors:
[ 80%] Building C object CMakeFiles/phippi.dir/src/crunch.o
In file included from /home/tonu/tyros/phippi/ros/phippi/src/crunch.c:9:
/home/tonu/tyros/phippi/ros/phippi/src/robot.h:44:31: error: imgproc/imgproc_c.h: No such file or directory
/home/tonu/tyros/phippi/ros/phippi/src/robot.h:45:31: error: highgui/highgui_c.h: No such file or directory
CMakeLists.txt has needed entries I suppose
tonu@tonu-desktop:~/tyros/phippi/ros/phippi$ grep -i opencv CMakeLists.txt
FIND_PACKAGE(OpenCV REQUIRED)
INCLUDE_DIRECTORIES(phippi ${OPENCV_INCLUDES})
tonu@tonu-desktop:~/tyros/phippi/ros/phippi$