ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I managed to find a solution myself. The error was caused by using a wrong order for target_link_libraries. So, instead of listing ${catkin_LIBRARIES} first, included_class has to come first (see below code snippet).
...
target_link_libraries( node
included_class
${catkin_LIBRARIES}
)
...
2 | No.2 Revision |
I managed to find a solution myself. The error was caused by using a wrong order for target_link_libraries
. So, instead of listing ${catkin_LIBRARIES}
first, included_class
has to come first (see below code snippet).
...
target_link_libraries( node
included_class
${catkin_LIBRARIES}
)
...