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

This is not a linking problem, but a compilation error. The compiler reports that it 'beliefs' that CamShift is not a member of the cv namespace. Linker errors are generally of the form can't resolve symbol for .. etc.

Have you checked to make sure your include path is setup correctly?

This is not a linking problem, but a compilation error. The compiler reports that it 'beliefs' 'believes' that CamShift is not a member of the cv namespace. Linker errors are generally of the form can't resolve symbol for .. etc.

Have you checked to make sure your include path is setup correctly?

This is not a linking problem, but a compilation error. The compiler reports that it 'believes' that CamShift is not a member of the cv namespace. That can happen if you did not #include <..> the relevant headers, or if the class is really not declared to be in that namespace.

Linker errors are generally of the form can't resolve symbol for .. etc.

The source code is adapted from camshiftdemo.cpp which I found in the OpenCV version 2.4 samples. It compiles and executes fine stand alone. This is the code snippet as I've adapted it to my ROS follow application.

Have you checked to make sure your include path is setup correctly?correctly? Can you update your question (use the edit link/button) with the contents of your CMakeLists.txt (please remove all the boilerplate comments first)?

This is not a linking problem, but a compilation error. The compiler reports that it 'believes' that CamShift is not a member of the cv namespace. That can happen if you did not #include <..> the relevant headers, or if the class is really not declared to be in that namespace.

Linker errors are generally of the form can't resolve symbol for .. etc.

The source code is adapted from camshiftdemo.cpp which I found in the OpenCV version 2.4 samples. It compiles and executes fine stand alone. This is the code snippet as I've adapted it to my ROS follow application.

Have you checked to make sure your include path is setup correctly? Can you update your question (use the edit link/button) with the contents of your CMakeLists.txt (please remove all the boilerplate comments first)?


Edit:

I've also seen evidence of a camshift node which makes me believe that if I load the correct package I should be able to do what I'm doing without writing any code. This is something for me to investigate later.

I think you're referring to the opencv_apps package, part of vision_opencv.