ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
1

build ros noetic in ubuntu 22.04

asked 2022-06-09 02:36:36 -0600

czworldy gravatar image

Is there any way i can build noetic from source code in ubuntu 22.04? I try to follow the guide of http://wiki.ros.org/noetic/Installati... but meet dont work when use:

rosdep install --from-paths ./src --ignore-packages-from-source --rosdistro noetic -y

i get $ rosdep install --from-paths ./src --ignore-packages-from-source --rosdistro noetic -y ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: ros_base: No definition of [bond_core] for OS version [Jammy Jellyfish] diagnostic_common_diagnostics: [hddtemp] defined as "not available" for OS version [*]

Is there any way i can build noetic from source code in ubuntu 22.04?

edit retag flag offensive close merge delete

Comments

hey, were you able to solve this? please help

Anukriti gravatar image Anukriti  ( 2022-09-14 16:56:02 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-07-02 08:53:20 -0600

lucasw gravatar image

updated 2022-07-02 13:14:39 -0600

It's a little messy but I've done this in https://github.com/lucasw/ros_from_sr... - I can help you through either method I've used. I didn't use rosdep but maybe that could be made to work also.

The first thing I did is build everything from source and that should still work (but I haven't done it recently), but then found out that there are some basic ros packages available apt install in 22.04 and created these instructions https://github.com/lucasw/ros_from_sr... to get many other packages built that aren't available through apt. There is a Dockerfile and github action that illustrates the same process (though the ubuntu-22.04 github action runs-on target is currently in beta and sometimes some apt installs fail on it because github action instances use mirrors of apt repos, hosted on azure so probably much faster but recently got out of sync and broke builds).

There is also a pre-built install catkin_ws here https://github.com/lucasw/ros_from_sr... though understandable if you don't want to use that for security reasons (but the zip files that are uploaded by the actions rather than me should be better https://github.com/lucasw/ros_from_sr... except that'll disappear in 90 days), and also it'll probably need to get rebuilt after a while as 22.04 packages are updated and I need to manually do that.

I'm fine providing more details here, I can flesh this answer out more in response to comments, or I'll update ros_from_src scripts and instructions and you could file an issue there to follow up on something that isn't working- either way is good.

If you want to use a ros package that isn't available through apt install or that I have in https://github.com/lucasw/ros_from_sr... (and didn't CATKIN_IGNORE), you can try git cloning it from the official repository but you may run into build issues (especially if it uses C++)- I can help with that.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-06-09 02:36:36 -0600

Seen: 2,357 times

Last updated: Jul 02