ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
There are multiple problems from a first look at the CMake snippet:
target_link_libraries()
line contains ${std_msgs}
but that should be ${std_msgs_LIBRARIES}
.test_lib
to ament_target_dependencies()
. You need `target_link_libraries(test_node test_lib) for that.DIRECTORY
argument or change the DESTINATION
to include/${PROJECT_NAME}
.