ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Win10+ROS 2: rosdep install errors: unsupported OS

asked 2021-07-09 08:03:56 -0500

Lila gravatar image

updated 2021-07-09 13:09:33 -0500

gvdhoorn gravatar image

I am getting some error on running rosdep install:

rosdep install --from-paths ./src --ignore-src -r -y --rosdistro galactic 
ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:
cyclonedds: Unsupported OS [windows] 
rmw_fastrtps_shared_cpp: Unsupported OS [windows] 
rmw_cyclonedds_cpp: Unsupported OS [windows] 
rmw_fastrtps_dynamic_cpp: Unsupported OS [windows]
rmw_fastrtps_cpp: Unsupported OS [windows]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully
edit retag flag offensive close merge delete

Comments

I would really recommend to not use -r in these command lines. It's just going to give the impression rosdep actually did something useful, while in reality it just ran into errors and gave up.

Then it merrily prints:

Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

and if you don't pay attention, it's almost as-if things are ok ..

gvdhoorn gravatar image gvdhoorn  ( 2021-07-09 13:10:51 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2022-09-19 17:47:36 -0500

tfoote gravatar image

There is no package manager on Windows. Unfortunately that means that rosdep cannot work there either as it relies on using a package manager to install the dependencies. The Windows installation instructions don't use rosdep they will be used by Linux and other platforms.

edit flag offensive delete link more
0

answered 2021-07-09 12:43:46 -0500

OoeyGUI gravatar image

Which installation method did you use?

edit flag offensive delete link more

Comments

I am seeing a similar issue. I'm assuming you mean the installation of rosdep? I installed rosdep using the instructions provided here. At first I had installed using an administrator command prompt, but I uninstalled and tried again using a regular command prompt and I'm still getting the same error.

enderen gravatar image enderen  ( 2021-07-12 13:49:15 -0500 )edit

Thank you for the reply - I meant which installation method of ROS2 did you use. Did you use a chocolatey package, condaforge, etc?

OoeyGUI gravatar image OoeyGUI  ( 2021-07-12 14:24:03 -0500 )edit

I followed the Windows 10 Galactic Installation Instructions exactly as they are described (using chocolatey).

The issue in this post actually came up because I was trying to resolve an issue that I ran into when following the instructions for the ROS2 install. The issue I ran into is described here, where someone suggests manually installing Eclipse DDS as a workaround. The manual installation of Eclipse DDS, which requires rosdep, is where I ran into the issue described by the OP of this post.

Thanks for your help!

enderen gravatar image enderen  ( 2021-07-12 14:45:53 -0500 )edit

Hello again, it seems I was able to fix my ROS2 installation issue, as I don't think I ever even needed to install Eclipse DDS manually. I guess this issue with rosdep still stands, but is no longer consequential for me in this instance.

enderen gravatar image enderen  ( 2021-07-13 15:40:57 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2021-07-09 08:03:56 -0500

Seen: 451 times

Last updated: Sep 19 '22