ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
There are quite a few questions about this, so can you please try the following search in Google and see whether the results help you: custom message in other package site:answers.ros.org
?
In summary: messages are headers, not libraries. So you can't link them.
See the Catkin documentation, specifically the C++ message or service dependencies section for how to configure everything correctly.