[Documentation] [TitleIndex] [WordIndex

  Show EOL distros: 

Package Summary

Willow Garage low-level build system macros and infrastructure.

Package Summary

Low-level build system macros and infrastructure for ROS.

Package Summary

Low-level build system macros and infrastructure for ROS.

Package Summary

Low-level build system macros and infrastructure for ROS.

Package Summary

Low-level build system macros and infrastructure for ROS.

Package Summary

Low-level build system macros and infrastructure for ROS.

Package Summary

Low-level build system macros and infrastructure for ROS.

Package Summary

Low-level build system macros and infrastructure for ROS.

Package Summary

Low-level build system macros and infrastructure for ROS.

  • Maintainer status: maintained
  • Maintainer: Geoffrey Biggs <geoff AT openrobotics DOT org>, Ivan Santiago Paunovic <ivanpauno AT ekumenlabs DOT com>
  • Author: Troy Straszheim, Morten Kjaergaard, Brian Gerkey, Dirk Thomas, Michael Carroll <michael AT openrobotics DOT org>, Tully Foote <tfoote AT openrobotics DOT org>
  • License: BSD
  • Bug / feature tracker: https://github.com/ros/catkin/issues
  • Source: git https://github.com/ros/catkin.git (branch: noetic-devel)

Conceptual Overview

For an explanation of the design goals and design decisions, in addition to the rationale for why Catkin ("yet another build system?") was created, see the catkin/conceptual_overview page.

Note for ROS Fuerte Users: An experimental version of catkin was released with ROS Fuerte that is quite different from the version in Groovy. Those using ROS Fuerte should continue utilizing rosbuild.

Installing catkin

Catkin is included by default when ROS is installed. Catkin can also be installed from source or prebuilt packages. Most users will want to use the prebuilt packages, but installing it from source is also quite simple.

Install Prebuilt Package

If you are using a ROS binary distribution (Groovy or higher) on Ubuntu then you can install catkin with apt-get:

sudo apt-get install ros-$ROS_DISTRO-catkin

Most ROS installations will include this by default.

Install From Source

Catkin has the following dependencies:

You can resolve these dependencies on Ubuntu with this command:

sudo apt-get install cmake python-catkin-pkg python-empy python-nose python-setuptools libgtest-dev build-essential

If you are not on Ubuntu you can install catkin_pkg from PyPi via pip.

If you have trouble installing the python-* packages in the command above, make sure you have added the packages.ros.org debian repository to your apt source lists as described on this page.

Then install catkin like any CMake package

mkdir build && cd build && cmake ../ && make && sudo make install

Note: You usually want to pass a specific build type when invoking CMake, e.g. cmake -DCMAKE_BUILD_TYPE=Release ../ (or RelWithDebInfo / Debug instead of Release, see http://cmake.org/cmake/help/v2.8.12/cmake.html#variable:CMAKE_BUILD_TYPE).

Migrating from rosbuild

See catkin/migrating_from_rosbuild

External Documentation

See the external catkin docs containing:

Tutorials

Configuration File References

Glossary of Terms

See catkin/Glossary

REPs

Code Reviews

Report a Bug

GitHub ros/catkin


2022-05-28 12:29