why doesn't colcon build fail any dependencies in package.xml?

asked 2021-07-23 17:32:13 -0600

masynthetic gravatar image

updated 2021-07-23 19:22:59 -0600

I am trying to set up a few dependencies and I am finding it... a little troublesome... that the <depend>s in package.xml do not seem to fail for any reason during build time (putting in random text succeeds). It makes it challenging to find issues here and easy to think nothing is wrong with your dependencies. Is there a reason for this?

edit retag flag offensive close merge delete


Just to clarify: Colcon does not deal with dependencies. On the "ROS side", that would be rosdep. On the other side, it would be CMake or whichever tool actually builds your package.

Colcon's job is to figure out in which order it should build the packages it finds.

gvdhoorn gravatar image gvdhoorn  ( 2021-07-24 11:20:53 -0600 )edit