On Thursday 08 April 2010 00:46:59 Wim Meeussen wrote:
> Ros users,
>
> We just released robot_model 1.1.0. This is an _unstable_ development
> branch to prepare new features for the next ROS distribution. The most
> exciting new feature is the URDF to COLLADA <http://www.collada.org>
> conversion tool. For more details, check out the stack documentation
> <http://www.ros.org/wiki/robot_model> and change list
> <http://www.ros.org/wiki/robot_model/ChangeList>.
When i try to compile collada_urdf i get the following linking error:
Linking CXX executable ../bin/urdf_to_collada
/usr/bin/ld: CMakeFiles/urdf_to_collada.dir/src/urdf_to_collada.o: in function
__static_initialization_and_destruction_0(int,
int):/usr/include/boost/system/error_code.hpp:205: error: undefined reference
to 'boost::system::get_system_category()'
/usr/bin/ld: CMakeFiles/urdf_to_collada.dir/src/urdf_to_collada.o: in function
__static_initialization_and_destruction_0(int,
int):/usr/include/boost/system/error_code.hpp:206: error: undefined reference
to 'boost::system::get_generic_category()'
/usr/bin/ld: CMakeFiles/urdf_to_collada.dir/src/urdf_to_collada.o: in function
__static_initialization_and_destruction_0(int,
int):/usr/include/boost/system/error_code.hpp:211: error: undefined reference
to 'boost::system::get_generic_category()'
/usr/bin/ld: CMakeFiles/urdf_to_collada.dir/src/urdf_to_collada.o: in function
__static_initialization_and_destruction_0(int,
int):/usr/include/boost/system/error_code.hpp:212: error: undefined reference
to 'boost::system::get_generic_category()'
/usr/bin/ld: CMakeFiles/urdf_to_collada.dir/src/urdf_to_collada.o: in function
__static_initialization_and_destruction_0(int,
int):/usr/include/boost/system/error_code.hpp:213: error: undefined reference
to 'boost::system::get_system_category()'
collect2: ld returned 1 exit status
I'm using the gold linker, but i dont see any -lboost_system added to the
linker command. Should this be exported by the colladadom package?
Adding rosbuild_link_boost(urdf_to_collada system filesystem) to the
CMakeLists.txt of collada_urdf fixes the problem, but I don't think this is
what you want?
Ruben
> Wim