Questions tagged [cmake]

505 questions
0
votes
1 answer

no such file or directory ros/ros.h

In my file I have included #include "ros/ros.h" it says no such file or directory. I am using VS Code, ROS noetic on Ubuntu 20.04 LTS. Here is my package.xml: beginner_tutorials
cyberoverlord
0
votes
1 answer

CMake Error ... No SOURCES given to target:

Hello. I am trying to compile a custom package but I am getting some errors with CMake. The error is the following: -- +++ processing catkin package: 'kate_global' -- ==> add_subdirectory(kate_global) -- Using these message generators:…
Alessandro Melino
0
votes
1 answer

ROS Answers SE migration: CMake Error

Hello everyone, I am totally new to ROS and I started install this afternoon. Unfortunately, I have a CMake error during the installation and I do not know how to fix it. Does anyone has time to support? I am running on Ubuntu 16.04 LTS. I will…
JC
0
votes
1 answer

Linking error with OpenCV on Jetson TK1

Hi there everybody, I am currently trying to build a package on my Jetson TK1. The package already works on my laptop. Everything works up to the linking stage of the catkin_make. The errors look like : Linking CXX executable…
ferasb
0
votes
1 answer

How to utilize *.so file in CMakeLists.txt?

I am very new to ROS and C++, and I apologize if my question is obvious. I have looked over very many questions and answers and tried the code offered by the answers; I looked over the documentation at…
BuilderMike
0
votes
1 answer

Add library to CMakeLists

Hello all, I am very new to ROS and I trying to include a library eigen-eigen-67e894c6cd8f which is available in /usr/local/include to the CMakeLists.txt. I have tried doing the below command but I have had no success. I am able to use this…
vin25
0
votes
1 answer

pre-built ROS packages don't have CMakeLists.txt?

All these pre-built ROS packages like turtlesim and others don't seem to be having CMakeLists.txt file in them unlike the user created packages ( where a workspace is created and the packages are built ) . Is the file deliberately removed in the…
sam26
0
votes
1 answer

ROS Answers SE migration: Cmake warning?

Make Warning at /opt/ros/kinetic/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message): The FindEigen.cmake Module in the cmake_modules package is deprecated. Please use the FindEigen3.cmake Module provided with Eigen. Change instances of…
GIL
0
votes
1 answer

MRAA library inclusion in project

I won't pretend to be a ROS Linux or coding expert, but I've been stuck on getting my catkin_make to compile using the MRAA library from Intel. I'm using Intel's Up Board as my robot central controller. It will be eventually be doing SLAM and…
titan vista
0
votes
1 answer

DSO missing from command line

I was trying to build a node that uses opencv2.4 , when i make it shows me the following error /home/mahtab/localnix/cv2/lib/libopencv_highgui.so.2.4: error adding symbols: DSO missing from command line the .so is present there the given directory…
Ma8sa
0
votes
1 answer

Running ros image to cv image conversion node

I am trying the example node given here to convert ros images into opencv images. When I run the node I don't see anything on the screen. My Opencv version is 2.4.8 and am using Indigo on Ubuntu 14.04. Below is my…
skr_robo
0
votes
1 answer

cmake_check_build_system' failed

I put in "make" CMake Error: The source directory "/home/avian/catkin_ws/src" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. Makefile:500: recipe for target 'cmake_check_build_system'…
avirich
0
votes
1 answer

Linking CXX executable error-- /usr/bin/ld: cannot find

I am building a hardware interface for my robot using the Dave Coleman's template package ros_control_boilerplate I am having problems building my package. Relevant snippets of my CMakeLists.txt look like: include_directories(include…
rohin
0
votes
1 answer

Catkin_make error: No such file or directory of a customized header file

Hello, I encountered a catkin_make error and already spent several days of trying to solve it but I could not make it. I hope you guys have any ideas on this. I am using Ubuntu 14.04 and ROS Indigo version. The error message I got when doing…
yoo00
0
votes
2 answers

What is the best way for CMakeLists.txt to check if ROS is installed?

I'm working on a toolbox written in C++ that is outside of the ROS ecosystem but want to conditionally add ROS support if ROS is installed on the local machine. What is the best way to check if ROS is installed in my toolbox's CMakeLists.txt? I'm…
liangfok
1
2 3 4