How to disable --only-pkg-with-deps


I’m currently work on ROS Basics Real Robot Project and I use this command.
I would like to know How can I disable and be able to compile the entire catkin_ws, because know, when I use only “catkin_make” doesn’t work and only compiles the previous package where I used “catkin_make --only-pkg-with-deps”

1 Like

In addition to what @issaiass already suggested, I think you might find this helpful.

catkin_make keep tracks of the packages you have already compiled using the build and devel folders, so it normally only compiles packages that have not been compiled before.

To ensure the changes you have made to a package and/or its dependencies, you need to remove those folders. This can save you some headaches with compilation errors.

cd ~/catkin_ws
rm -rf build/ devel/
source devel/setup.bash
1 Like