image_pipeline undefined gtest refs
When running a catkinmake on my imagepipeline packages, I get the whole array of undefined reference errors for every unit test in the packages. I installed gtest and python-unittest through synaptic. Is there something else I need?
A sampling of the errors:
[ 87%] Building CXX object imagepipeline/imageproc/CMakeFiles/imageproc.dir/src/nodelets/rectify.cpp.o CMakeFiles/unittest.dir/tests/unittest.cpp.o: In function `comparecalibration(sensormsgs::CameraInfostd::allocator<void > const&, sensormsgs::CameraInfostd::allocator<void > const&)': unittest.cpp:(.text+0x84): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const, int, char const)' unittest.cpp:(.text+0x96): undefined reference totesting::internal::AssertHelper::operator=(testing::Message const&) const' unit_test.cpp:(.text+0xa1): undefined reference to
testing::internal::AssertHelper::~AssertHelper()' unittest.cpp:(.text+0x135): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const, int, char const)' unittest.cpp:(.text+0x147): undefined reference totesting::internal::AssertHelper::operator=(testing::Message const&) const' unit_test.cpp:(.text+0x152): undefined reference to
testing::internal::AssertHelper::~AssertHelper()'
Asked by seanarm on 2013-02-13 04:55:59 UTC
Comments
Which image_pipeline source version are you running? Is this on Groovy? What platform?
Asked by joq on 2013-02-13 10:24:45 UTC