image_pipeline undefined gtest refs [closed]

asked 2013-02-13 03:55:59 -0500

seanarm gravatar image

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()'
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-10-30 17:53:07.526076

Comments

Which image_pipeline source version are you running? Is this on Groovy? What platform?

joq gravatar image joq  ( 2013-02-13 09:24:45 -0500 )edit