Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with ROS2 Jazzy and ROS noetic #436

Open
Hunk86 opened this issue Jun 26, 2024 · 1 comment
Open

Build with ROS2 Jazzy and ROS noetic #436

Hunk86 opened this issue Jun 26, 2024 · 1 comment

Comments

@Hunk86
Copy link

Hunk86 commented Jun 26, 2024

Required Info:

  • Operating System:
    • Ubuntu 20.04 but also docker with ubuntu 24.04
    • ROS noetic and ROS2 Jazzy

I want to build the ROS1 bridge by myself and I've read the documentation. But for the most important part I didn't find anything on the documentation, it only mentioned that you should define your ROS1 and ROS2 install space

Now my question: ROS 1 noetic is official supported till Ubuntu 20.04 and ROS2 jazzy with Ubuntu 24.04

How i could install both?

I tried two different solution for me

1. Setup everything in Ubuntu 20.04 with binary install of ros2

At the moment I tried to build it with a ubuntu 20.04 installed ROS noetic and with the binary Release of ROS2

But when i build it I got linking problem because of traecetools which I can't disable

I tried :

colcon build --symlink-install --packages-select ros1_bridge --cmake-force-configure --cmake-args -DBUILD_TESTING=OFF -DTRACETOOLS_DISABLED=ON 

I always get

Package 'tracetools' exports library 'lttng-ust-common' which couldn't be

/usr/bin/ld: cannot find -llttng-ust-common
/usr/bin/ld/usr/bin/ld: cannot find : cannot find -llttng-ust-common-llttng-ust-common

2. Build inside docker container

  • I'm using docker run -it osrf/ros:jazzy-desktop

I just copied /opt/noetic from my host system

But still then I've problems with e.g. the correct boost version for noetic

Are my thoughts correct to build it like that ? I dont understand why I can't disable the tracetool, or what is the best way to build ros bridge by yourself?

@jtaveau
Copy link

jtaveau commented Jul 17, 2024

Hey @Hunk86, did you manage to solve the second issue? I'm running into the same issue with Docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants