Ask Your Question

How do I build everything?

asked 2011-02-14 09:44:45 -0500

mmwise gravatar image

updated 2014-01-28 17:09:06 -0500

ngrennan gravatar image

There's no Makefile in the root of ros-pkg!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-02-15 06:57:51 -0500

mwise gravatar image

ROS packages live in a federated space where's there's no central list of things to be built. For reasons of (disk) space and time, usually you just want to build the things that you're working with. E.g., if you're using the pr2_2dnav_gazebo package, which brings up a navigation stack in simulation, you can build all the pieces you need with rosmake:

rosmake pr2_2dnav_gazebo

Having said that, if you really want to build everything, you can use rosmakeall:


It will build all packages in your ROS_ROOT and ROS_PACKAGE_PATH directories. Note that this will take about 90 minutes and consume about 1GB on disk. As of now, rosmakeall also runs all the tests for each package. It will eventually be modified to not run tests.

edit flag offensive delete link more

answered 2011-02-15 07:01:28 -0500

Alex Bravo gravatar image

updated 2011-02-15 07:07:48 -0500

Note that this will take about 90 minutes

What type of PC produces this result?

edit flag offensive delete link more

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


Asked: 2011-02-14 09:44:45 -0500

Seen: 674 times

Last updated: Feb 15 '11