ros / catkin

A CMake-based build system that is used to build all packages in ROS.
http://wiki.ros.org/catkin
BSD 3-Clause "New" or "Revised" License
318 stars 279 forks source link

how to clean some package in melodic or noetic #1177

Closed xlla closed 2 years ago

xlla commented 2 years ago

hi, how to clean some package use new catkin_xxx tools?

In many articles, they said we can clean a package using

catkin clean package_name

but it does not work anymore with new tools

catkin_make_isolated clean panda_moveit_config
usage: catkin_make_isolated [-h] [-C WORKSPACE] [--source SOURCE] [--build BUILD] [--devel DEVEL] [--merge]
                            [--install-space INSTALL_SPACE] [--use-ninja] [--use-nmake] [--use-gmake] [--install]
                            [--force-cmake] [--no-color] [--pkg PKGNAME [PKGNAME ...] | --ignore-pkg PKGNAME [PKGNAME ...] |
                            --from-pkg PKGNAME] [--only-pkg-with-deps ONLY_PKG_WITH_DEPS [ONLY_PKG_WITH_DEPS ...]] [-q]
                            [--cmake-args [CMAKE_ARGS ...]] [--make-args [MAKE_ARGS ...]]
                            [--catkin-make-args [CATKIN_MAKE_ARGS ...]] [--override-build-tool-check]
catkin_make_isolated: error: unrecognized arguments: clean panda_moveit_config

I tried to search on net, but it just dig out huge ancient post point to catkin clean.

xlla commented 2 years ago

I found the catkin_tools.