catkin is the official build system of ROS. It combines CMake macros and Python scripts to provide some functionality on top of CMake's normal workflow.
Questions tagged [catkin]
254 questions
14
votes
4 answers
What install command does in cmake?
I couldn't understand the CMake documentation for install. I have a sample cmake file, where an executable is generated by
add_executable(${PROJECT_NAME}_node src/filename.cpp)
Then later installed by the following command
install(TARGETS…

TonyParker
- 2,024
- 5
- 18
- 27
13
votes
4 answers
Catkin command not found
I have installed ROS indigo and gazebo2 packages in Ubuntu 14.04.5. When I try to use catkin command, I get:
catkin_init_workspace : command not found
So, I tried to install catkin, it displays that ros-indigo-catkin is the latest version.
All I did…

Kathiravan Natarajan
- 3,158
- 6
- 22
- 45
9
votes
2 answers
How to correctly link opencv3 under ROS Indigo (using CMake)?
Am not being able to link opencv3 that I installed myself separately from ros. Am getting this error
../devel/lib/libirTest.so: undefined reference to `cv::ORB::create(int, float, int, int, int, int, int, int, int)'
../devel/lib/libirTest.so:…

Courier
- 920
- 2
- 11
- 36
9
votes
2 answers
catkin_package vs. find_package
in the file CMakelists.txt I see find_packages and catkin_package:
find_package(catkin REQUIRED COMPONENTS roscpp rospy
image_transport std_msgs message_generation sensor_msgs
geometry_msgs )
catkin_package( CATKIN_DEPENDS…

user5547561
- 157
- 1
- 2
- 8
7
votes
1 answer
openCV 'cvPoint' and 'CV_FONT_HERSHEY_SIMPLEX' not declared in this scope
I'm trying to get the LSD-SLAM by Kevin George.
But I got stuck because openCV doesn't want to be cooperative and when using catkin_make it doesn't know the following two…

MrMinemeet
- 304
- 6
- 17
7
votes
3 answers
How to generate .deb from catkin workspace in ROS
I can compile and install ROS package in the catkin workspace in ROS. How can I export the package in catkin workspace to a .deb file so I can install and use it on the other machines?
My ROS version is ROS Indigo and OS version is Ubuntu 14.04

Wennn
- 119
- 1
- 7
7
votes
3 answers
Setting up ROS package in CLion
I am using CLion (C++ IDE) for editing a ROS package. I was able to open a package by opening the CMakeLists.txt file. But, I get an error,
"FATAL_ERROR "find_package(catkin) failed. catkin was neither found in the workspace nor in the…

boon
- 345
- 1
- 4
- 11
7
votes
1 answer
MAC OS: dynamically linked library not found despite correct rpath
I have a (relatively) big project C++ that compiles and runs fine on ubuntu (using cmake/catkin).
It compiles fine on mac os, but when trying to start the executable, I get the error message:
dyld: Library not loaded: .dylib
…

Vince
- 3,979
- 10
- 41
- 69
5
votes
3 answers
Visual Studio Code Debug: source and then launch on same shell
My current workflow for a project is the following:
build the project (via catkin)
source a setup.sh script (generated by catkin, which I wouldn't like to modify) setting environment variables and the names needed by my executable.
Run "MyProgram",…

Gianni
- 458
- 5
- 17
5
votes
1 answer
CMake find_package not finding Find.cmake
I made and installed the aruco library, which put a Findaruco.cmake file in the /usr/local/lib/cmake directory. In my CMakeLists.txt file I have
...
find_package(aruco REQUIRED)
and it always returns the standard error
By not providing…

Anup
- 103
- 1
- 2
- 10
4
votes
2 answers
Installing Ros Noetic on Raspbian (Buster) on Raspberry Pi 4
I am trying to install ROS Noetic on a Raspberry Pi 4 and I came across this error while executing this command from the official guide:
userk@dopamine:~/development/ros_catkin_ws $ ./src/catkin/bin/catkin_make_isolated --install…

UserK
- 884
- 3
- 17
- 40
4
votes
1 answer
Unmet dependencies- unable to install python-catkin-pkg
I'm trying to install roslaunch but it says I need to install roslib, then that says I need to install catkin, which says I need to install python-catkin-pkg.
I first call source /opt/ros/kinetic/setup.bash
and for each dependency I've tried to…

Crystal
- 65
- 1
- 6
4
votes
2 answers
Unable to execute *catkin* commands using *RUN* in Dockerfile
I want to use a customized ros-indigo on docker. I prepared the following Dockerfile
FROM ros:indigo-robot
RUN echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
RUN mkdir -p /home/catkin_ws/src
WORKDIR /home/catkin_ws/src
RUN…

Sanjay
- 363
- 1
- 3
- 14
4
votes
1 answer
Use ZeroMQ in ROS with Package zeromq_catkin - How to include?
I am trying to setup a ROS-Node to communicate with other OS via ZeroMQ ( no choice here ).
I use ROS Kinetic Kame on ubuntu 16.04 LTS and catkin build (instead of catkin_make).
Luckily, there already is a Catkin-Package (a Wrapper) for ZeroMQ…

EliteTUM
- 705
- 2
- 8
- 21
4
votes
3 answers
How to set gperftools path variables GPERFTOOLS_LIBRARIES GPERFTOOLS_INCLUDE_DIR?
In a catkin project the catkin_make fails. The CMakeLists includes
find_package(Gperftools REQUIRED)
I have installed google-perftools:
google-perftools is already the newest version (2.4-0ubuntu5)
The CMake Error says it cannot find gperftools,…

mkoller
- 49
- 1
- 2