cv_bridge and opencv 3.0.0

asked 2015-03-27 11:38:54 -0600

jbrown gravatar image

We have functions that work for opencv 2.4.11 and 3.0.0. The program builds in eclipse just fine (is uses opencv 3.0.0), but when we try to catkin_make, we get the error:

CMakeFiles/vision_node.dir/src/vision.cpp.o: In function fisheyeAdjust()': vision.cpp:(.text+0x11b9): undefined reference tocv::fisheye::undistortImage(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::Size_<int> const&)' collect2: error: ld returned 1 exit status make[2]: * [/home/enterprise/enterprise_ws/devel/lib/vision/vision_node] Error 1 make[1]: [vision/CMakeFiles/vision_node.dir/all] Error 2 make: ** [all] Error 2 Invoking "make -j8 -l8" failed

We think it has to do with either a namespace issue or a cv_bridge issue. Any advice? Thanks!

edit retag flag offensive close merge delete