Install the dependencies and build a subset of packages in a workspace
Hey everyone, I have a pretty big catkin workspace and I would like to build a subset of the packages. Let's say I have a workspaces with packages {A, ..., Z}. Then I want to build package A, and A depends on B, C, D
So, I can just use : catkin build A
and A, B, C, and D will be built.
But how can I install the dependencies for the package A and it's dependencies without installing all the deps in the workspace ?
I have tried
rosdep install -yi A
(Only installs dependencies for A and not it's dependencies)rosdep install -yi --from-src ./src/A
(Only installs dependencies for A and not it's dependencies)
Thanks !
Please edit your question to be more specific and accurate.
--from-src
is not a valid option for rosdep. And "(Only installs dependencies for A and not it's dependencies)" is not clear what is not being installed? When you install a debian package (which is what rosdep does by default) it pulls in all the transitive dependencies automatically.