Robotics StackExchange | Archived questions

rviz on ros windows 10

Hello,

Just for kicks I followed instructions at http://wiki.ros.org/Installation/Windows and installed ros-noetic on windows 10. Also tried the new terminal with ROS profile, tested roscore and rostopic. Pretty cool to see Linuxization of Microsoft.

When I tried to launch rviz, it a windows pops up with the following message:

the code execution cannot proceed because image_transport.dll was not found. Reinstalling the program may fix this problem.

followed by the same window that says:

the code execution cannot proceed because resource_retriever.dll was not found. Reinstalling the program may fix this problem.

I think the problem can be solved by installing a package with the choco package manager, but I am not familiar with this, and very little documentation exists.

Any ideas/help/pointers in the right direction greatly appreciated, Best, -C.

Asked by wintermute on 2020-07-11 17:12:03 UTC

Comments

⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀

Asked by anonymous67891 on 2021-01-14 13:48:23 UTC

Answers

What's up, @wintermute.

I just had this problem myself - I found that the dlls were installed in C:\opt\ros\noetic\x64\lib. To fix the problem, add that to your path by editing the Path variable in the System Properties. I did this by typing Environmental Variables in the Windows Search bar, selecting 'Edit the sytem environment variables', clicking 'Environment Variables,' then adding it to the Path variable under System Variables.

I think the intended way is the library path gets appended when you run setup.bat. I'm not sure why that's not occurring for either of us, so if I come across a better fix for setup.bat, I'll edit my post.

Asked by jjholley on 2020-07-21 12:50:56 UTC

Comments

@wintermute - update here. Editing system environment variables were helpful for getting rviz to launch, but several plugins may fail to load. I decided to just use melodic by installing via choco: choco upgrade ros-melodic-desktop_full -y --execution-timeout=0

Asked by jjholley on 2020-07-21 13:48:03 UTC

thank you for your answer. after some fiddling, I rolled back to melodic as well.

Asked by wintermute on 2020-08-21 06:31:33 UTC

Recently I got a new computer, so I decided to give a try on installing ROS Noetic on Windows 10. It's a lot simpler now, but I got annoyed when RViz wouldn't work, I tried many things but all it was needed was a simple update:

set ChocolateyInstall=c:\opt\chocolatey
choco upgrade all -y --execution-timeout=0

I'd recommend to start with this first.

Asked by osilva on 2021-11-27 14:34:36 UTC

Comments