Undefined reference in cvBridge.h
I just updated to Fuerte and Ubuntu 12.04 and I'm trying to build my ROS pacakges on it.
I'm getting errors in my OpenCV code which may be because the OpenCV code I'm building is a little old.
Here's the full build log for the package that's giving me errors: http://paste.ubuntu.com/991395/
And here's the code for ImageRecording.cpp (which seems to be the source of all these 'undefined reference' errors): http://paste.ubuntu.com/991411/
What I'm confused about is that I'm not getting a compiler error, but a linker error. I would have understood getting a compiler error since the code is outdated and maybe the API we were using back then is not supported anymore, but a linker error indicates that the same API is still there but somehow the setup of the whole thing is broken in some way.
Any insight into this would be greatly appreciated.
Kind regards, Stefan Freyr.
Just for the record, I tried creating a brand new node following the tutorial I found here: http://www.ros.org/wiki/cv_bridge/Tutorials/UsingCvBridgeToConvertBetweenROSImagesAndOpenCVImages
I have the same problem there, getting a bunch of "undefined reference" linker errors when I try to build.