ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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}
    )
...
click to hide/show revision 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}
    )
...