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
0
votes
1 answer
Issue with link library when compiling with cmake
I can compile a cpp file with g++ using the command:
g++ test.cpp -lmpfr -lgmp
How to add these libraries to a CMakeLists.txt to compile with CMake?
0
votes
0 answers
Error when using SURF detector in opencv inside ROS
I was trying to migrate a code that uses SURF from "Pure" OpenCV in c++ to a ROS cpp code. The problem is that when I include the line of the surf Detector, the compiler shows me an error after Linkin the executable that I haven't seen before.
This…
0
votes
1 answer
undefined reference to ... when compiling ros node
I'm trying to write a ROS-Node which uses OpenCV nonfree components (SURF). I have trouble compiling the package using catkin_make:
//usr/local/lib/libopencv_nonfree.so: undefined reference to `cv::ocl::integral(cv::ocl::oclMat const&,…

oliverkn
- 743
- 9
- 14
0
votes
1 answer
CUDA with cmake. Config file not found
I am trying to have CUDA working with catkin (ros) which is essentially cmake. I do not have a .cu files yet. As a first step I am wanting to add CUDA in find_package
find_package(catkin REQUIRED COMPONENTS
cv_bridge
image_transport
roscpp
…

mkuse
- 2,250
- 4
- 32
- 61
-1
votes
0 answers
using catkin win Ubuntu Humble with ROS2 Humble
I have Ubuntu 22.04 installed and corresponding to that have ROS Humble installed, I am trying to create a workspace with Catkin but have run into an issue:
engineer@vmubuntu:~/catkin_workspace/src$ catkin_init_workspace
Command…

ADoshi
- 1
-1
votes
2 answers
Error executing catkin_make: Invoking "make -j1 -l1" failed
I am new to ROS and got issues with catkin_make. At first it was working properly, when executing it inside a catkin workspace (catkin_ws). Then I created a catkin package inside src named rosjava without dependecies (catkin_create_pkg rosjava) and…

Jon Peñalver
- 1
- 1
-1
votes
1 answer
How to limit the number of "cc1plus" when using "catkin build"
My computer is out-of date so when running 'catkin build' the system breakdown.
I try to limit the threads when building, by:
apply '-j2' at the end of catkin build
export ROS_PARALLEL_JOBS2=-j2
But still failed.
I cheched that when running build,…

larrydong
- 1
- 1
-1
votes
3 answers
Invoking "cmake" failed
I am trying to build a ROS package 'moveit_kinematics' but getting the following error:
I ran find_package(ur3_moveit_plugin REQUIRED) but getting syntax error.
CmakeLists.txt:
find_package(trac_ik_kinematics_plugin…

Anubhav Singh
- 8,321
- 4
- 25
- 43
-1
votes
1 answer
Invoking "make -j4 -l4" failed | due error in cpp file
This error comes when I run catkin_make command in catkin_ws directory. I think there are problems in off_node.ccp file as first error appears which is related to cpp file and leads to further error messages, which I am not able to debug. I added…

Yograj Singh Mandloi
- 553
- 1
- 4
- 16
-1
votes
2 answers
pkg_resources.DistributionNotFound: The 'docutils' distribution was not found and is required by catkin-pkg
I am installing ros kinetic on Ubuntu 16.04 and I get this error when I try catkin_make:
ibrahim@ibrahim-Lenovo-ideapad-500-15ISK:~$ mkdir -p ~/catkin_ws/src
ibrahim@ibrahim-Lenovo-ideapad-500-15ISK:~$ cd…

Ibrahim Hassan
- 1
- 1
- 1
-1
votes
1 answer
symbolicc++ build error in ros catkin
I try to use the symbolicc++ toolbox with catkin.
With a bigger project I have the structure:
//main2.cpp
#include "someheader.h"
int main(){
Symbol a;
Symbolicclass b(a);
b.func();
}
//someheader.h
#ifndef SOMEHEADER_H
#define…

DentOpt
- 77
- 1
- 6
-2
votes
2 answers
c++ error: no match for 'operator!=' (operand types are ‘std::basic_istream’ and ‘long int’)
I'm trying to catkin_make the github package from this link:
https://github.com/sontdhust/wandrian_src
However, it keeps returning this error:
no match for 'operator!=' (operand types are 'std::basic_istream' and 'long int')
I have traced…

Anjun
- 1
- 1
- 1
-2
votes
1 answer
Unable to run python script from php
I am using a local web server (LAMP).
When running shell_exec/exec/system with the parameter "/script.py passed_arg[1] passed_arg[2]" there is no return value and nothing happens.
I eliminated permissions by chmod 777, and unreadable file (readdir()…

shimon sheiba
- 1
- 1