Ask Your Question
1

Skip dependencies with rosdep install?

asked 2014-07-30 21:21:44 -0500

updated 2021-06-16 09:29:18 -0500

lucasw gravatar image

Hi I've built a number of ros installations on ubuntu for armhf from source, from 12.04 to 14.04 however when running rosdep for package dependencies:

rosdep install --from-paths src --ignore-src --rosdistro indigo -y

I usually hit problems as some dependencies (sbcl, yaml-cpp to name a few) are not built for armhf. I can build and install these from source however rosdep is usually not satisfied and can't find or substitute the built packages. Additionally its pretty hard to find the source packages that depend on these so that the package.xml may be modified.

Is there some way to stop rosdep from searching for particular packages or detect installations that didn't come from apt-get or as dpkg or help it find the installed dependency?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2014-07-31 01:17:04 -0500

ahendrix gravatar image

rosdep has the -r option to keep going if packages can't be found, and the --skip-keys option which makes it assume that packages are already installed.

For more details, see the built-in help: rosdep -h

edit flag offensive delete link more

Comments

That's great and what I needed. Even provided a convenient list of missed dependencies at the end. Thanks very much.

PeterMilani gravatar image PeterMilani  ( 2014-07-31 03:35:49 -0500 )edit

This is an example of skipping gazebo and rviz (the keys are the same as what is in a package.xml entries, not the name of the package to be installed, not gazebo11 and ros-noetic-rviz in this case)

rosdep install --from-paths src --ignore-src --skip-keys="gazebo rviz" -r -s
lucasw gravatar image lucasw  ( 2021-06-16 09:27:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-07-30 21:21:44 -0500

Seen: 575 times

Last updated: Jun 16