Skip to main content

Questions tagged [compilation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
19 views

ROS2 colcon ament: includes non-existent path /usr/local/lib/python3.10/dist-packages/numpy/core/include . How to set the folder to python3/?

I build an ament package A on a docker container on the cloud. Then, I build locally package B that has A (which I pulled via conan) as dependency. And I see this error ...
Alessandro Amici's user avatar
0 votes
0 answers
16 views

Persistent Compilation Errors in nav2_controller on ROS2 Iron with Ubuntu 22.04 Despite Workspace Sourcing

Description: I am facing ongoing compilation errors when trying to build the nav2_controller package from the Navigation2 repository on ROS2 Iron running on Ubuntu 22.04. Despite correctly cloning the ...
Marcus Vinicius's user avatar
0 votes
0 answers
28 views

Which version of the PX4 software stack is compatible with ROS Noetic

I cloned the source code of PX4-Autopilot into my ros_noetic_ws and attempted to compile it using the catkin_make command, but ...
Mubashir's user avatar
4 votes
1 answer
1k views

How to speed up colcon build (notably slower than catkin/cmake) and or debug causes?

My team has a ROS2 humble docker image we use for development. It contains our dependencies along with a source installation of Humble targeting Ubuntu arm64 architecture on a Nvidia Jetson device. ...
user1433734's user avatar
0 votes
0 answers
36 views

Build errors when building ROS 2 Humble from source on armhf architecture (BeagleBone Black, Ubuntu 22.04.3)

I have been trying to install ROS 2 Humble on a BeagleBone Black. Because of the armhf CPU architecture, I need to compile ROS from source.I followed the process described on the official ROS website. ...
elegresl's user avatar
0 votes
1 answer
334 views

[ROS2 Humble] Unable to compile custom srv which depends on msg

Problem: Custom srv file will not compile if using a fieldtype that is a msg from a package on ROS2 Humble. It seems the __struct C/C++ dependencies are not properly being detected by colcon. The same ...
user avatar
0 votes
1 answer
30 views

compiler warning: parameter passing for argument X changed in GCC 7.1 (ARM)

Hi, I'm getting a few of the following warning when compiling a node using geometry_msgs::Twist. Any idea what I'm doing wrong and how to get rid of it? EDIT: ...
user avatar
0 votes
1 answer
12 views

Qt5 & ROS: colcon build fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build\ros2gui\publisher.vcxproj]"

Hey folks, I have the strange issue, that (only sometimes!) colcon build Fails with the above stated error. This is no strerr output though, I got it from stdout_sterr.log ! (otherwise it only Fails ...
user avatar
0 votes
1 answer
22 views

undefined reference to everything

Hi, I have a package in my workspace that uses openCV and cv_bridge. I needed the cuda module of openCV, but it doesn't exist in the default openCV of ROS. I installed another version of openCV that ...
user avatar
0 votes
1 answer
47 views

Ros2 fails to build osrf_testing_tools_cpp with Visual Studio 15.8

Hi, Is it correct that ROS2 on windows fails to build many of its default packages? I precisely followed these steps to set up my environment for ROS2 bouncy and everything went fine. I installed ...
user avatar
0 votes
1 answer
106 views

How to properly install packages from source?

Hi, I have been reading on how to install packages INTO ROS that aren't included in the ROS installation for a while now and I still don't get it. I am trying to modify source before installing, hence ...
user avatar
0 votes
1 answer
2 views

Please help out. Its Cmakelist, Cmake error. I heard related articles to this but I couldnot solve it

Im using ROS kinetic and trying to build my first HelloROS.cpp with rosserial_embeddedlinux package. I couldnot compile the package, (I dont know how to write a makefile or makefile is generated ...
user avatar
0 votes
1 answer
5 views

Why can't I send a string message through my program?

Currently I am trying to build a simple node where I send a string using the std_msgs::String.h message class. What I do ...
user avatar
0 votes
1 answer
125 views

howto: Eigen Installation

All, This is just a brief how to on how to resolve Eigen compile time errors - which wasn't installed on my Raspberry Pi. I kept getting the error: ...
MarkyMark's user avatar
  • 526
0 votes
1 answer
1 view

Impossible to make a plugin with the tutorial

Hi, I am following the 'Writing and Using a Simple Plugin' tutorial (here) but I can't compile my code. I am on Ubuntu 14.04 and I use ROS indigo. I use C++. When I use catkin_make the terminal ...
user avatar
0 votes
2 answers
38 views

"The library is neither a target nor built/installed properly"

Hello, Hello I have a package called wp3_driver_pkg which builds without errors when I build it alone but when I'm trying to use it in another package (ur10) I have the following error : ...
user avatar
0 votes
1 answer
7 views

Package external dependencies

Hello, I am building a ROS package (well actually I am building components for RTT_ROS) and these components depend on external code. This external code is not 3rd party code but code which is ...
user avatar
0 votes
1 answer
3 views

Unable to compile workspace for unsolved reference to serial::Serial::waitReadable

Hi to all, I'm kind of new to ROS and I'm having a problem while compiling the catkin workspace on my laptop. I'm using ROS Indigo on Ubuntu 14.04, and I'm trying to compile the ...
user avatar
0 votes
1 answer
7 views

movit_msgs error

I was doing catkin_make on pr2_apps stack but i ran to this error,eventhough I have moveit_msgs installed in my system /home/azar/catkin_ws/src/pr2_apps/pr2_teleop_general/src/...
user avatar
0 votes
1 answer
6 views

Library includes are not copied properly at compile

Hi all, I have been compiling a library and made it ROS compatible - and everything works except that the includes are not copied to the devel/lib/PACKAGE folder. I have added: ...
user avatar
0 votes
1 answer
3 views

Error compiling web_video_server

On Ubuntu 14.04 using ros indigo, I get this error: ...
user avatar
0 votes
1 answer
24 views

Problem with serialization.h

Hi, I've tried to code a simple service between a client node and a proxy node and i have this error : In file included from /opt/ros/indigo/include/ros/publisher.h:34:0, from /opt/ros/indigo/include/...
user avatar
0 votes
1 answer
12 views

no matching function for call to 'fromMsg(geometry_msgs::TransformStamped_<std::allocator<void> >::_transform_type, tf2::Transform&)'

Hello, I am currently trying to cross compile the robot-localization package for a custom made OS with yocto. I managed to cross compile the other dependencies but I got a problem with this one. I did ...
David Bensoussan's user avatar
0 votes
1 answer
2 views

Use an equivalent of rosmake on Windows

Hello, Lots of questions have already been asked on the forum but I didn't manage to find an answer, either because the question was outdated and therefore closed, or simply no answer. I've followed ...
user avatar
0 votes
1 answer
1 view

Can't generate compiled lisp executables

I am following tutorial on roslisp with simple talker and subscriber. My system is ROS indigo under ubuntu 14.04 During catkin_make I get the following errors, taking all the junk out: CMake Error at ...
user avatar
0 votes
1 answer
5 views

overlay class_loader, cannot catkin_make

I am trying to overlay http://wiki.ros.org/class_loader in my environment. As far as I can tell, it's a catkin package, so I've cloned the git repo into the src directory of my catkin workspace. First ...
user avatar
0 votes
1 answer
2 views

Matlab libraries causing conflicts / linking errors

I have a simple program that demonstrates my error. The following compiles ...
user avatar
0 votes
1 answer
7 views

ROS Answers SE migration: Using actions

Hello, I tried to modify one of those tutorials of actionlib and when i do catkin_make the output is this: ...
user avatar
0 votes
1 answer
2 views

opencv compilation error

...
user avatar
0 votes
2 answers
1 view

hector_navigation_node problem compilation

Hello, I downloaded the hector_navigation package from github but doesn't succeed on using the hector_navigation_node the error is : "ResourceNotFound: hector_exploration_node". I downloaded ...
user avatar
0 votes
1 answer
3 views

ros-hydro-navigation stack compilation - trouble with openni

Hello, I have some troubles with the compilation of the package hydro-navigation-devel fetched from github here This is my configuration : ...
user avatar
0 votes
2 answers
3 views

Arduino IDE does not find msg header

I'm trying to learn rosserial_arduino. I've worked through the tutorials and am now going back and walking through them with my own code. My initial test code will use rosserial_arduino to turn 8 LEDs ...
user avatar
0 votes
1 answer
1 view

Problem with Header File Not Being Sensed in Compilation

Hello, I am having issues compiling a simple package that I built. In the end, after compilation I am getting an error: ...
user avatar
0 votes
1 answer
2 views

Installing Indigo on Mac OS X Maverick boost cannot be found cpp_common

When installing Indigo on Mac. I get an error stating that Boost cannot be found while compiling cpp_common. Did anyone have the same problem? Im compiling using: ...
user avatar
0 votes
1 answer
7 views

Copying ROS packages from Virtual Nao to Actual Nao

Hello there, I am following the tutorial (I can't publish links! The title is: "Installing ROS Indigo onto NAO with help of virtual-nao") from the ROS Wiki, which involves compiling ROS to a ...
user avatar
0 votes
1 answer
1 view

sbpl on Hydro compilation error

Dear all. I just compiled navigation_experimental-hydro-devel with catkin-make in ROS hydro. However, it does not compile due to changes in ...
user avatar
0 votes
1 answer
13 views

How to make catkin compile packages within a metapackage?

I'm using hydro with catkin (v. 0.5.77) and I'm using a metapackage because I want to enhance a rosbuild-stack, which I catkinized. My problem is, that catkin_make recognizes my metapackage, but doesn'...
user avatar
0 votes
1 answer
20 views

catkin-cmake-isolated fails to build moveit_core

I'm trying to compile moveit_core with catkin_make_isolated but it failed because it could find a config file for fcl. ...
user avatar
0 votes
1 answer
1 view

arm_navigation compilation error on fuerte

As stated on the wiki page http://www.ros.org/wiki/arm_navigation, I installed the sources of the package using: ...
user avatar
0 votes
1 answer
1 view

invalid perception_pcl repository for fuerte

The link on the wiki page seems not valid. Can someone fix it ? Originally posted by Fabien R on ROS Answers with karma: 90 on 2013-06-25 Post score: 0
user avatar
0 votes
1 answer
1 view

cross-compilation ros fuerte on nao geode

Does anyone manage to successfully installed ros fuerte, ubuntu 12.04 on nao geode (cross-compilation)?. I have been trying but it seems there is a mismatch with python 2.6 and 2.7 version. ...
user avatar
0 votes
1 answer
4 views

Compile is successful, but no executable generated?

Hi guys, I have created my own package in which I do some image processing with openCV and PCL. After compiling, I get no errors and the build is successful, However, no executable is generated in the ...
user avatar
0 votes
1 answer
1 view

compiling rviz on debian

I'm trying to compile rviz on fuerte running debian/amd64 sid. I downloaded the package from the wiki. Using rosmake leads to the following error: ...
user avatar
0 votes
2 answers
2 views

java error in "rosmake roboearth"

Hi guys! I'm on a problem trying to compile roboearth package. I've follow the instruction posted on http://www.ros.org/wiki/roboearth, using rosinstall to download the package. When i try to compile ...
user avatar
0 votes
2 answers
1 view

ROS Groovy, robot_mechanism_controllers: cannot find -lPyKDL

Hi, On a fresh ROS Groovy install (on Ubuntu 12.04), I'm failing to compile robot_mechanism_controllers. I get a linkage error: ...
user avatar
0 votes
2 answers
2 views

Rosmake takes too long

I am used to compile with Makefiles and with the help of pkg-configs, where compilation time is usually under a second. However, when I have to include some ROS stuff into my project I usually have to ...
user avatar
0 votes
1 answer
3 views

make without rebuilding everything everytime

In my package I defined a library which is linked to my executable.. the cmakelists file looks like this: ... rosbuild_add_library(mylib src/lib_src.cpp) #in the real cmake I have lot of sources in ...
user avatar
0 votes
1 answer
1 view

gtesting a custom class

I created the test/myTest.cpp file, which includes the myClass.h header file. When I compile with make test I get the error ‘MyClass’ does not name a type, where MyClass is the class defined in ...
user avatar
0 votes
1 answer
2 views

compiling ROS on Debian

Hello, I am trying to get started with ROS under debian. I followed the install instructions for debian until the point where it is compiled using make. There I run into trouble building the rxtools ...
user avatar
0 votes
1 answer
3 views

Compiling ros node with cmake and swi-prolog

Hi to all! I have a ROS node that performs some swi-prolog queries using the pl2cpp library (it comes together with the swi-prolog installation). Now, the problem is that when i have a .cpp file that ...
user avatar