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

[RuntimeError] Unknown / unsupported VS version '17.0' #2

Open
XEL-Maker opened this issue Jul 17, 2023 · 1 comment
Open

[RuntimeError] Unknown / unsupported VS version '17.0' #2

XEL-Maker opened this issue Jul 17, 2023 · 1 comment

Comments

@XEL-Maker
Copy link

Hello, I faced with RuntimeError "Unknown / unsupported VS version '17.0'"

I install Ros2-Foxy follow the ros2 windows install instructions

Here is my environment information for re-produce error

OS: Window 11 Pro 22H2
ROS2 Distributor: Foxy
ROS2 Location: C:\opt\ros\foxy
WorkSpace Location: C:\foxy_ws
VisualStudio: Microsoft Visual Studio Community 2022 (64-bit) Ver 17.4.3
Command Prompt: Visual Studio 2022 Developer Command Prompt v17.4.3

command prompt

cd C:\foxy_ws
rosdep install -i --from-path src --rosdistro foxy -y
rosdep update
colcon build

error print

c:\foxy_ws>colcon build
[0.369s] root DEBUG Using proactor: IocpProactor
Starting >>> carter_description
[0.377s] colcon.colcon_ros.prefix_path.catkin WARNING The path 'C:\opt\ros\foxy\x64\tools\vcpkg\installed\x64-windows' in the environment variable CMAKE_PREFIX_PATH doesn't exist
Starting >>> carter_navigation
Starting >>> isaac_ros2_messages
Starting >>> isaac_ros_navigation_goal
Starting >>> isaac_tutorials
--- stderr: isaac_ros2_messages
Traceback (most recent call last):
  File "c:\opt\ros\foxy\x64\lib\site-packages\colcon_core\executor\__init__.py", line 91, in __call__
    rc = await self.task(*args, **kwargs)
  File "c:\opt\ros\foxy\x64\lib\site-packages\colcon_core\task\__init__.py", line 93, in __call__
    return await task_method(*args, **kwargs)
  File "c:\opt\ros\foxy\x64\lib\site-packages\colcon_ros\task\ament_cmake\build.py", line 59, in build
    rc = await extension.build(
  File "c:\opt\ros\foxy\x64\lib\site-packages\colcon_cmake\task\cmake\build.py", line 87, in build
    rc = await self._reconfigure(args, env)
  File "c:\opt\ros\foxy\x64\lib\site-packages\colcon_cmake\task\cmake\build.py", line 162, in _reconfigure
    raise RuntimeError(
RuntimeError: Unknown / unsupported VS version '17.0'
---
Failed   <<< isaac_ros2_messages [0.06s, exited with code 1]
Aborted  <<< carter_description [0.11s]
Aborted  <<< carter_navigation [0.08s]
Aborted  <<< isaac_ros_navigation_goal [0.05s]
Aborted  <<< isaac_tutorials [0.03s]

Summary: 0 packages finished [0.25s]
  1 package failed: isaac_ros2_messages
  4 packages aborted: carter_description carter_navigation isaac_ros_navigation_goal isaac_tutorials
  1 package had stderr output: isaac_ros2_messages
Unknown / unsupported VS version '17.0'

c:\foxy_ws>

thanks in advance

@XEL-Maker
Copy link
Author

I already solve this porblem by uninstall VisualStudio2022 and install VisualStudio2019.
But i don't close this issue.

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

1 participant