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

answered 2013-05-04 04:02:24 -0500

joq gravatar image

I suspect you require an explicit dependency on the generated message targets, to ensure things always get built in the correct order:

add_dependencies(your_program ${catkin_EXPORTED_TARGETS})

In your example maybe you just need this:

add_dependencies(your_program ${rqt_marble_EXPORTED_TARGETS})

I suspect you require an explicit dependency on the generated message targets, to ensure things always get built in the correct order:

add_dependencies(your_program ${catkin_EXPORTED_TARGETS})

In your example maybe you just need this:

add_dependencies(your_program ${rqt_marble_EXPORTED_TARGETS})

NOTE: catkin compiles targets in parallel quite aggressively. The build machines tend to have more processors than most people's development systems. So, they may uncover missing dependencies that did not occur during development.