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

Not working on Windows 11 with Foxy #921

Open
Saad-Naseer opened this issue Apr 18, 2024 · 2 comments · May be fixed by #939
Open

Not working on Windows 11 with Foxy #921

Saad-Naseer opened this issue Apr 18, 2024 · 2 comments · May be fixed by #939
Labels

Comments

@Saad-Naseer
Copy link

Saad-Naseer commented Apr 18, 2024

Description
There is no error in building process of rosbridge_suite but when i run the launch file it is looking for .exe file. I am using the command colcon build --merge-install i will create the lib folder and inside this lib folder i have .exe files for all of my packages but it will not generate the .exe file for rosbridge_server.

  • Library Version: 1.3.1
  • ROS Version: Foxy
  • Platform / OS: Windows 11

Steps To Reproduce

Finished <<< siam_mask [23.2s]
Finished <<< rosbridge_library [29.8s]
Starting >>> rosapi
Finished <<< compressed_depth_image_transport [41.3s]
Finished <<< compressed_image_transport [40.8s]
Starting >>> image_transport_plugins
Finished <<< rosapi [13.1s]
Starting >>> rosbridge_server
Finished <<< image_pub_sub [49.7s]
Starting >>> tracking_gui
Finished <<< image_transport_plugins [7.41s]
Finished <<< rosbridge_server [9.69s]
Starting >>> rosbridge_suite
Finished <<< rosbridge_suite [2.97s]
Finished <<< tracking_gui [36.3s]
Starting >>> app_launch
Finished <<< app_launch [6.59s]

Summary: 34 packages finished [3min 39s]

Expected Behavior
.exe should be generated for rosbridge_websocket in Lib folder.

Actual Behavior
it only generates rosbridge_websocket.py in and rosbridge_websocket.(no extension)
image

@sea-bass
Copy link
Contributor

sea-bass commented May 8, 2024

ROS 2 Foxy has been unsupported since June 2023, and also was only supported on Windows 10, not 11: https://docs.ros.org/en/foxy/Releases/Release-Foxy-Fitzroy.html#supported-platforms

In fact, seems like even the latest version of ROS 2 still only has Windows 10 as a Tier 1 platform.

You might have luck with at least Humble? Or you may be able to roll back to an older version of this repo, but I think there are no guarantees with your particular setup, sorry to say.

@EricGallimore
Copy link
Contributor

Take a look at the discussion in #914, which is functionally a duplicate of this.

tldr; several rosbridge packages need to be converted to use ament_python instead of ament_cmake to work on Windows (since ament_python can generate exe wrappers, but ament_cmake does not).

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

Successfully merging a pull request may close this issue.

3 participants