How to add message dependencies if they are located in the same package? [closed]
Hi everybody, imaging you have two messages defined in the same package my_package_msgs and one of them is dependent on the other:
For instance:
- foo.msg:
- geometry_msgs/Point position
- array_of_foo.msg
- my_package_msgs/foo[] foo_array
When the package is compiled this error appears:
Could not find messages which
'/home/user/../my_package_msgs/msg/array_of_foo.msg'
depends on. Did you forget to specify generate_messages(DEPENDENCIES ...)?
Thx.
there is probably something wrong with your CMakeLists.txt. Please post the relevant parts.