-
Notifications
You must be signed in to change notification settings - Fork 480
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
Gazebo Windows post-install error 0xc0000142 #2938
Comments
Hi @FirefoxMetzger ! Sorry, I had missed this issue.
How did you installed the dependencies of Gazebo? The
I experienced this kind of issues with |
In the end, I wiped the entire installation and switched to using WSL2. WSL2 has the limitation that rendering is CPU accelerated (llvmpipe) and uses at most 8 cores, but with a strong enough CPU that is okay for development. Simple scenes like a panda pick'n'place run at ~70-80% real-time on my machine. In addition, GPU acceleration for WSL2 is on the horizon, too, so it is just a matter of time until this becomes a non-issue. You can get it in the bleeding edge Windows build, but last I checked it was still unstable on my particular machine.
I installed what was available from vcpkg via vcpkg, and - for the ignition packages not yet on vcpkg - I cloned the version matching the one from the dome (at the time) stack.
It does, and it does launch Gazebo. Unfortunately, it seems to suffer from a model loading issue ( #2899 (comment) ). This might be fixed now though; I haven't checked since.
Interesting. I didn't know that Dependencies has the same struggle. Thanks for the heads up! |
@FirefoxMetzger Hello, I have managed to install gazebo in wsl2 too (❤),more excitingly, this is GPU-accelerated WSL2! It is windows insider build, they even demonstrate a smooth-running Gazebo in their blog. However, in my laptop with rtx 2080 max q, Gazebo can only run at ~30fps...If you are working on this, please let me know your experience 😁 |
I guess we can close this issue if all doubts have been closed. @sandyUni probably you can write in Gazebo Discourse (https://community.gazebosim.org/) for generic feedback or a separate issue for running Gazebo under WSL2? Thanks! |
Fair point @traversaro . I'll close it. @sandyUni That is exciting, indeed. I need to retest if the insider build is now stable on my machine; I haven't tested it again. I think the 30 FPS are a limitation coming from Gazebo itself because a lot of parts are tuned to run with a target RTF of 1. It's possible to set it to a higher value, but last I checked that this wasn't guaranteed to scale sensor update rates appropriately and would only change physics, which might make controllers unstable or have other unwanted side-effects. |
I managed to compile Gazebo 11 from source on Windows in VS 2019 (yay 🎈).
However, after the installation, I get an error:
The application was unable to start correctly (0xc0000142)
for bothgzserver
andgzclient
. This is true for both, the Release and the Debug build. I know that this relates to missing (or incompatible) dependencies, but I can't figure out what's wrong.Dependency Walker shows that all the VC redistributable libraries are missing (known problem, dependency walker can't handle API sets), but shows that the Gazebo specific dependencies (sdformat, ignition-..., etc.) are present.
Dependencies can handle API sets, and shows that most of the VC redistributable libraries are present. The same is true for the Gazebo-specific dependencies. What seems to be missing on my system is the library pointed to by
ext-ms-win-shell32-shellcom-l1-1-0.dll
(presumably a windows library).My problem is that I can't find any viable information online about what that library is part of and how I can install it. I was hoping that one of you has come across a similar issue before and can give me a pointer. Any help is appreciated :)
The text was updated successfully, but these errors were encountered: