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

It looks like the headers for your service files are not being generated before the programs that use them are compiled.

You can declare this build dependency using the add_dependencies() cmake command. Try adding the following to your CMakeLists.txt:

add_dependencies(add_two_ints_server ${beginner_tutorials_EXPORTED_TARGETS})
add_dependencies(add_two_ints_client ${beginner_tutorials_EXPORTED_TARGETS})