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

MoveIt 2 windows install fails: Unknown / unsupported VS version '17.0'" #809

Open
MauriceCalvert opened this issue Jun 10, 2023 · 2 comments

Comments

@MauriceCalvert
Copy link

C:\Windows\System32>set COLCON_WS=C:\ws_moveit2\

C:\Windows\System32>mkdir %COLCON_WS%\src

C:\Windows\System32>cd %COLCON_WS%\src

C:\ws_moveit2\src>git clone https://github.com/ros-planning/moveit2.git -b foxy
Cloning into 'moveit2'...
remote: Enumerating objects: 120576, done.
remote: Counting objects: 100% (1443/1443), done.
remote: Compressing objects: 100% (608/608), done.
remote: Total 120576 (delta 854), reused 1190 (delta 779), pack-reused 119133
Receiving objects: 100% (120576/120576), 85.26 MiB | 12.87 MiB/s, done.

Resolving deltas: 100% (73288/73288), done.

C:\ws_moveit2\src>set IGNORED_PACKAGES=warehouse_ros_mongo

C:\ws_moveit2\src>cd %COLCON_WS%

C:\ws_moveit2>colcon build --packages-skip-by-dep %IGNORED_PACKAGES%  --packages-skip %IGNORED_PACKAGES% --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release
[3.312s] colcon.colcon_core.package_selection WARNING ignoring unknown package 'warehouse_ros_mongo' in --packages-skip
[3.594s] root DEBUG Using proactor: IocpProactor
Starting >>> moveit_common
[3.660s] colcon.colcon_ros.prefix_path.catkin WARNING The path 'C:\opt\ros\noetic\x64\tools\vcpkg\installed\x64-windows' in the environment variable CMAKE_PREFIX_PATH doesn't exist
--- stderr: moveit_common
Traceback (most recent call last):
  File "c:\opt\ros\noetic\x64\lib\site-packages\colcon_core\executor\__init__.py", line 91, in __call__
    rc = await self.task(*args, **kwargs)
  File "c:\opt\ros\noetic\x64\lib\site-packages\colcon_core\task\__init__.py", line 93, in __call__
    return await task_method(*args, **kwargs)
  File "c:\opt\ros\noetic\x64\lib\site-packages\colcon_ros\task\ament_cmake\build.py", line 59, in build
    rc = await extension.build(
  File "c:\opt\ros\noetic\x64\lib\site-packages\colcon_cmake\task\cmake\build.py", line 87, in build
    rc = await self._reconfigure(args, env)
  File "c:\opt\ros\noetic\x64\lib\site-packages\colcon_cmake\task\cmake\build.py", line 162, in _reconfigure
    raise RuntimeError(
RuntimeError: Unknown / unsupported VS version '17.0'
---
Failed   <<< moveit_common [0.09s, exited with code 1]

Summary: 0 packages finished [1.17s]
  1 package failed: moveit_common
  1 package had stderr output: moveit_common
  25 packages not processed
Unknown / unsupported VS version '17.0'

C:\ws_moveit2>cmake --version
cmake version 3.18.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

C:\ws_moveit2>
@welcome
Copy link

welcome bot commented Jun 10, 2023

Thanks for reporting an issue. Because we're a volunteer community, providing a pull request with suggested changes is always welcomed.

@henningkayser
Copy link
Member

Unfortunately, the website install is a bit out of date. Foxy is not really supported anymore and we should update the build instructions. Have you tried humble?

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