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
1
vote
1 answer
Adding a custom ROS package as dependency to another ROS package
I am new to ROS so apologies if it is obvious.
I have multiple ROS packages and currently I use them by linking them to my catkin workspace using symbolic links. What I want to do now is use one CMakeList to call and build the required ROS…

SohaibAJ
- 83
- 9
1
vote
1 answer
catkin build ignoring local changes?
I'm wondering if anybody else has seen the following issue with catkin build. It's rare, but every now and then when I rebuild my workspace (literally just calling catkin build again after changing a .cpp file) it seems like changes to certain files…

nerdleturtle
- 87
- 4
1
vote
1 answer
cannot run catkin build on ubuntu 20.04
I have Ubuntu 20.04 and I've just installed ROS noetic and catkin.
But each time I do catkin build and I have a list of errors and cannot proceed. Can you guys please help me solve this problem.
Traceback (most recent call last):
File…

Xah Rah
- 13
- 4
1
vote
0 answers
Ubuntu 18.04 - Catkin_make -> /usr/bin/ld: cannot find -lX11::X11
My problem is the following:
I am trying to run some ROS packages. I have already did it on a virtual machine so the packages are correct. I want now to do the same on my parition, I installed the libraries I needed but when I run catkin_make I…

Vanessa
- 11
- 1
1
vote
1 answer
catkin_make uses the anaconda python version
I am in my native (non conda) python, after a conda deactivate operation.
I can confirm that the python that is being used, is NOT the anaconda one, with which python3, that gives me /usr/bin/python3.
However, when i perform a catkin_make, it uses…

user1584421
- 3,499
- 11
- 46
- 86
1
vote
1 answer
Add shell script as executable to catkin package to use with rosrun
When using a catkin package it is possible to start the c++ executables, that were added in the CMakeLists.txt, using the command rosrun from anywhere on the computer.
Is there a way to add a shell script as an…

Manumerous
- 455
- 6
- 21
1
vote
0 answers
What is the problem, when I bulid ROS hector navigation
I am trying to use hector navigation in ROS to do navigation. But when I follow the steps, some problems occur. When I do cmake, the problem happened as following.
Project 'ceres_catkin' tried to find library 'gflags'. The library is
neither a…

唐啟實
- 11
- 1
1
vote
0 answers
Import pyaudio to ROS Node
Hi I wrote a ROS Node in python which imports pyaudio for processing audio. I am using virtulenv with all python modules installed. I can run my Node in Pycharm however when i use rosrun mic_pkg mic_app.py. I'm getting following…

Filip
- 11
- 1
1
vote
1 answer
C++ use google Protobuf2 with protobuf3 dependencys?
I have a project which uses Google Protobuf2. Now I want to use the prebuilt tensorflow C-API which I integrate via CMake. But now I am getting the following error:
libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version…

Emilio7773
- 187
- 1
- 9
1
vote
1 answer
Cmake package configuration when looking for each other's packages
When i catkin_make when module_one find package module_two and module_two find package module_one, there is error like below
-- +++ processing catkin package: 'module_one'
-- ==> add_subdirectory(module_one)
-- Could NOT find module_two (missing:…

Kyuhwan Yeon
- 151
- 2
- 8
1
vote
1 answer
Why is CartographerROS install stopping with this "Failed to find Ceres" error?
I am trying to install CartographerROS on Ubuntu 20.04. I have installed ROS Noetic, and followed the instructions for installing CartographerROS here:…

Michael Kossin
- 342
- 3
- 14
1
vote
2 answers
Roslaunch cannot open shared object file: No such file or directory
I'm having problems with opening a shared library when using roslaunch.
I have a ROS package with a c++ script containing the line:
handle = dlopen("./rk4.so", RTLD_LAZY);
This shared library resides inside my ROS package. I managed to build the…

LucaGare
- 13
- 3
1
vote
1 answer
ROS top level CMakelists.txt is not used, how to give cmake defaults for all sub projects?
I have a workspace set out as in the ROS REP 128 aka:
catkin_ws
src
CMakeLists.txt // < 1.
project_1
CMakeLists.txt
project_2
CMakeLists.txt
...
In fact you can reproduce this using just the catkin…

Fantastic Mr Fox
- 32,495
- 27
- 95
- 175
1
vote
0 answers
ROS CPP Snap7 Linux - CMake does not link against lib
I would like to use Snap7 ( Multi-platform Ethernet S7 PLC communication suite) to establish a communication between ROS and a Siemens S7 1500.
I encountered a linker problem - Although I can find the includes and the library .so file itself,…

TwoBit01
- 11
- 2
1
vote
1 answer
ROS-Yocto catkin_make toplevel.cmake
I am trying to install ROS into an embedded device (imx8m-mini variscite dart) using Yocto. I have added required ROS packages into the Yocto environment and generated a root file system. I have sourced the setup.bash script in my bash environment…

odd
- 131
- 1
- 3
- 9