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

You are probably missing the line

add_dependencies(name_of_exe package_name_generate_messages_cpp)

in your CMakeLists.txt. This line should be present after target_link_libraries for the same exe.

If you have that, you will build the messages before the exe files.