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

could be using namespace issue. Did you build your opencv directly with ROS in the CMAKE? I experience something similiar before for error: undefined reference with openc v+ ros to some 3rd partry library. It turns out opencv shares couple library with ros. say boost under cv::boost and there is another ros::boost. of course your system gets confused.

I think to solve this. One is to build opencv not with ROS. So when you use it remember not to use using namespace cv; but use every function as cv::boost..... If above not working just remove opencv and compile without ROS and try it again