Build-from-source docs: missing Wayland dependencies on Ubuntu 24.04 (wayland-scanner) #3007
Unanswered
Jay2006sawant
asked this question in
Asking for Help
Replies: 1 comment
-
|
Same for System is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am Jay, an undergraduate student, and I am setting up MuJoCo locally in order to contribute to the project and learn more about physics-based simulation and robotics.
My setup
My question
Hi!
I am Jay, an undergraduate student, and I am setting up MuJoCo locally in order to contribute to the project.
While building MuJoCo from source on Ubuntu 24.04 (Wayland-based systems, also reproducible on WSL2 with GUI support), the build fails during GLFW configuration with the following error:
After investigating, the root cause appears to be that wayland-scanner is required for Wayland support but is not installed by default on Ubuntu 24.04.
Additionally, the binary is not provided by a package named wayland-scanner, but instead comes from the package:
libwayland-binInstalling the following packages resolves the issue and allows the build to complete successfully:
I did not see this dependency mentioned in the build-from-source documentation, so I wanted to ask whether adding a short note about Wayland dependencies for Ubuntu 22.04+ would be welcome.
I’m happy to open a documentation PR if this makes sense.
Minimal model and/or code that explain my question
Not applicable — this is a build-from-source documentation question, not a runtime or MJCF issue.
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions