ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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})
2 | add note |
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.