image_pipeline undefined gtest refs [closed]
When running a catkin_make on my image_pipeline 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 image_pipeline/image_proc/CMakeFiles/image_proc.dir/src/nodelets/rectify.cpp.o CMakeFiles/unit_test.dir/tests/unit_test.cpp.o: In function `compare_calibration(sensor_msgs::CameraInfo_<std::allocator<void> > const&, sensor_msgs::CameraInfo_<std::allocator<void> > const&)': unit_test.cpp:(.text+0x84): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)' unit_test.cpp:(.text+0x96): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const' unit_test.cpp:(.text+0xa1): undefined reference to `testing::internal::AssertHelper::~AssertHelper()' unit_test.cpp:(.text+0x135): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)' unit_test.cpp:(.text+0x147): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const' unit_test.cpp:(.text+0x152): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
Which image_pipeline source version are you running? Is this on Groovy? What platform?