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

Error Installing ROS on Windows10

asked 2020-04-07 09:34:28 -0500

dts1 gravatar image

updated 2020-04-07 09:49:50 -0500

Edition: Windows 10 Home Version: 1903 OS build: 18362.720 System Type: 64-bit operated system, x64-based processor Processor: Intel(R) Core(TM) i3-8130U CPU @ 2.20Ghz

Following the installation detailed in http://wiki.ros.org/Installation/Windows

When I execute choco upgrade ros-melodic-desktop_full -y --execution-timeout=0

I get the following error below. (However, executed all previously commands fine with no error messages)

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:
ros_core: No definition of [rosbag_migration_rule] for OS [windows]
rospack: No definition of [python-catkin-pkg-modules] for OS [windows]
diagnostic_common_diagnostics: No definition of [hddtemp] for OS [windows]
trajectory_msgs: No definition of [rosbag_migration_rule] for OS [windows]
desktop: No definition of [common_tutorials] for OS [windows]
simulators: No definition of [stage_ros] for OS [windows]
joint_trajectory_controller: No definition of [code_coverage] for OS [windows]
joystick_drivers: No definition of [wiimote] for OS [windows]
Continuing to install resolvable dependencies...
ERROR: the following rosdeps failed to install
  vcpkg: Vcpkg is not installed
ERROR: rosdepInstall.bat failed.
The upgrade of ros-melodic-desktop_full was NOT successful.
Error while running 'c:\opt\chocolatey\lib\ros-melodic-desktop_full\tools\chocolateyInstall.ps1'.
 See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (c:\opt\chocolatey\logs\chocolatey.log).

Failures
 - ros-melodic-desktop_full (exited -1) - Error while running 'c:\opt\chocolatey\lib\ros-melodic-desktop_full\tools\chocolateyInstall.ps1'.
 See log for details.
edit retag flag offensive close merge delete

Comments

1

Please provide links to any documentation or tutorials you are trying to follow. Additionally I would also add the build nr of your Windows 10, and whether you encountered any issues following any of the previous steps.

There isn't sufficient information for anyone here to help you.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-07 09:37:53 -0500 )edit

Thank you for the feedback. Just provided documentation link, build nr of windows, and no errors from previous steps.

dts1 gravatar image dts1  ( 2020-04-07 09:51:01 -0500 )edit

Similar question: #q348731.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-08 04:15:48 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2020-04-09 13:47:38 -0500

gaspard_bourgeois gravatar image

updated 2020-04-09 13:48:20 -0500

edit flag offensive delete link more
1

answered 2020-04-07 14:51:28 -0500

OoeyGUI gravatar image

Some of the rosdep keys errors are benign - ROS on Windows' meta package contains the actual packages.

However, the vcpkg error is concerning. Did you run this command from a visual studio command prompt?

edit flag offensive delete link more

Comments

I've tried to reinstall ROS on Windows just to reproduce OP's question and I've got the same error as well. I believe there was no such error occurred when I installed it last time around February. Perhaps it's worth creating an issue on GitHub as another similar question has just been raised on ROS Answers.

karenchiang gravatar image karenchiang  ( 2020-04-08 04:49:19 -0500 )edit

Yes I ran the following command from a VS command prompt (x64 Native Tools Command Propmpt for VS 2019- in Administrator mode).

dts1 gravatar image dts1  ( 2020-04-08 09:08:49 -0500 )edit

I have the same problem for 2 days now, I also tried to install it from source without success.

Edition: Windows 10 Entreprise: 1809 OS build: 17763.1039 System Type: 64-bit operated system, x64-based processor Processor: Intel(R) Core(TM) i5-8250U CPU @ 1.60Ghz 1.80Ghz

gaspard_bourgeois gravatar image gaspard_bourgeois  ( 2020-04-08 09:54:57 -0500 )edit

I ran this file : C:\opt\chocolatey\lib\ros-vcpkg\tools\install.wrapper.bat It installed Vcpkg in c:/opt/ directory and added it to my path I succeed finishing the installation but I have some problems with rospack package on my installation.

gaspard_bourgeois gravatar image gaspard_bourgeois  ( 2020-04-08 11:06:58 -0500 )edit

For whoever runs into this, please kindly share your logs in this GitHub issue https://github.com/ms-iot/ROSOnWindow..., so we can have a better understanding of what's happening...

Sean Yen gravatar image Sean Yen  ( 2020-04-08 12:46:52 -0500 )edit
1

answered 2020-04-07 10:42:32 -0500

duck-development gravatar image

you may look insde of you c:\opt\chocolatey\logs\chocolatey.log

and it also sayes: Vcpkg is not installed.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-04-07 09:34:28 -0500

Seen: 2,606 times

Last updated: Apr 09 '20