Robotics StackExchange | Archived questions

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

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?

Asked by masynthetic on 2021-07-23 17:32:13 UTC

Comments

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.

Asked by gvdhoorn on 2021-07-24 11:20:53 UTC

Answers