ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Are you using the messages when you build your code? If yes, they're a build dependency.
Are you using the messages when you run your code? If yes, they're a run-time dependency.
This question and answer has a more in-depth discussion: http://answers.ros.org/question/238900/should-cc-packages-run_depend-on-_msgs-packages/
2 | No.2 Revision |
Are you using the messages when you build your code? If yes, they're a build dependency.
Are you using the messages when you run your code? If yes, they're a run-time dependency.
It is perfectly fine to have a package as both a build and run-time dependency.
This question and answer has a more in-depth discussion: http://answers.ros.org/question/238900/should-cc-packages-run_depend-on-_msgs-packages/