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
2
votes
1 answer
/usr/bin/ld: cannot find -lvtkRenderingOpenGL
Errors << apriltag_ros:make /home/ravinspect/catkin_ws/logs/apriltag_ros/build.make.001.log
/usr/bin/ld: cannot…
2
votes
0 answers
Missing variable is CMAKE_py_LINK_EXECUTABLE while building workspace
I have been working within a catkin workspace for ROS and just tried to rebuild it after building another node ("motion_controller.py") within the "motion_controller" package. When I try to rebuild the package, I get the following error:
CMake…

cdegner
- 21
- 2
2
votes
1 answer
How to import custom python modules with ROS?
In side simulator.py, I'd imported PID.py from Control which is valid according to PyCharm IDE.
Program Structure:
src
├── quantum_drone
│ ├── CMakeLists.txt
│ ├── Control
│ │ ├── __init__.py
│ │ ├── Keys.py
│ │ ├──…

NotALolicon
- 31
- 1
- 7
2
votes
1 answer
CMake with ROS Package:Header files not detected
I am trying to organise my code into a more OOP style with each class taking on its own header and cpp file. This is my tree in the package folder in the workspace
- CMakeLists.txt
- include
- - Master_Thread.h
- - Entry.h
- - ROS_Topic_Thread.h
-…

Iberico
- 162
- 2
- 15
2
votes
0 answers
opencv error: Assertion failed after termination
I have following line of codes
#include
#include
...
cv::Mat color_image = cv::imread(file_path);
std_msgs::Header dummy_header;
cv_bridge::CvImage cv_image(dummy_header, "bgr8", color_image);
return…

Brandon Lee
- 391
- 1
- 3
- 6
2
votes
0 answers
Roslaunch got "No such file or directory" while starting a node
I'm creating my own node for ROS that is written in python. When I start the node roslaunch contact_charging contact_charging.launch I get this error:
Roslaunch got a 'No such file or directory' error while attempting to…

KiKiPOV
- 21
- 1
- 2
2
votes
2 answers
How to force UIC to generate ui_mainwindow.h in the source directory using cmake
UIC successfully creates the ui_mainwindow.h file but it stores it in the build directory. This causes the compile time error 'ui_mainwindow.h: No such file or directory found'.
If I add the full path to the ui_mainwindow.h file in the build…

Shawn Mathew
- 2,198
- 1
- 14
- 31
2
votes
2 answers
CMakeLists: Adding source files from Github with ExternalProject
I'm writing a small catkin wrapper for the Beckhoff ADS library. I would like to install the files from the AdsLib folder but without using the CMake file from Beckhoff.
I just want to copy the files in order to add them to my library in my own…

pixelpress
- 109
- 1
- 14
2
votes
1 answer
How to limit compiler flags only to a (my) local library?
I am trying the example below :
add_library(
mylib
src/my_code.cpp)
target_include_directories(mylib
PUBLIC include ${catkin_INCLUDE_DIRS} ${thirdPartyLib_INCLUDE_DIRS})
add_dependencies(
mylib
…

Courier
- 920
- 2
- 11
- 36
2
votes
1 answer
Trigger catkin build process from within python
I am working on a python script to organize a project consisting of several repos. Some of the targets are build using catkin. Since catkin is a python tool, I suspect there has to be a way to call an equivalent to catkin build from within a python…

Sagre
- 462
- 3
- 12
2
votes
2 answers
No rule to make target libopencv_calib3d.so.3.2.0 but opencv 3.4.1 installed, when making ROS workspace
I have opencv 3.4.1 installed from source on my ubuntu. But when running command catkin_make -DCMAKE_BUILD_TYPE=Release I get error:
No rule to make target '/usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.3.2.0', needed by…

Mr. M.
- 53
- 1
- 8
2
votes
1 answer
C++: What does the build option "-j" mean?
I have a project, which consists of C++ code and uses CMake as build system and above that uses the Catkin tool catkin_make to build the project. The thing is, it does or does not build depending on weather I use the build option -j as in…

avermaet
- 1,543
- 12
- 33
2
votes
3 answers
catkin_make » /usr/bin/ld: cannot find -lcsparse
I'm trying to get LSD_SLAM working but when running the catkin_make command at 91%. I get the error message /usr/bin/ld:
/usr/bin/ld: cannot find -lcsparse
I already tried to softlink using this command sudo ln -s…

MrMinemeet
- 304
- 6
- 17
2
votes
0 answers
Error importing Cython module after successful catkin_make
I'm trying to expose C++ class and method to Python. Therefore I opted to use Cython to wrap the two. C++ code is a part of a catkin package, so I researched ways how to integrate Cython compilation inside catkin_make.
In my dummy example, there's a…

makons
- 522
- 1
- 11
- 27
2
votes
2 answers
Using Catkin with CMake Interface Library
I am currently trying to use a c++ header-only library declared as a cmake interface library within catkin. This library is supposed to be used by other packages in catkin_ws/src. I was able to compile all packages with catkin_make but not with…

JFT
- 41
- 1
- 6