ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to rebuild a specific package?

asked 2016-07-01 09:58:56 -0500

Cerin gravatar image

I'm trying to rebuild and test a specific package in Kinetic, which I thought I could do using the catkin_make "--pkg" argument. However, when I run

catkin_make --pkg mypackage

it appears to iterate over every package in my workspace, checking for changes, rebuilding any it finds, which can a while. Is this the expected behavior?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-26 08:52:23 -0500

Unimate gravatar image

For building a single package with its dependencies, try

catkin_make --only-pkg-with-deps

A detailed explanation can be found in this

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-07-01 09:58:56 -0500

Seen: 598 times

Last updated: Aug 26 '19