ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thank you for your short tutorial.

I am quite new to CMake and have questions.

  1. Which file do I need to set OpenCV_DIR, I guess it should be FindOpenCV.cmake.

  2. Where can I get FindOpenCV.cmake file? Is it right? http://opencv.willowgarage.com/wiki/FindOpenCV.cmake

  3. set(OpenCV_DIR "/directory/to/opencv2"), where is /directory/to/opencv2? Is this the installation directory(default: /usr/local) or source root directory or build root directory?

It keeps saying

/usr/local/include/opencv/highgui.h:45:33: fatal error: opencv2/core/core_c.h: No such file or directory compilation terminated.

Thank you.