moveit / moveit.ros.org

This is the MoveIt website
http://moveit.ai
37 stars 106 forks source link

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

Open MauriceCalvert opened 1 year ago

MauriceCalvert commented 1 year ago
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[bot] commented 1 year ago

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

henningkayser commented 9 months ago

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?