-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Failed loading libxkbcommon.so.0 #13433
Comments
Sorry wrong place for this. |
Hello! Is it possible to add the path to Also check out this Stack Overflow question, which may provide possible solutions. |
I tried adding, this as one of my env variable but the error stays the same.
|
Update I managed to make it work with this config. However the error was very unclear so we should probably change the unwrap to at least an
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShell {
packages = with pkgs; [
cargo
rustc
rust-analyzer
rustfmt
clippy
gcc
alsa-lib
dbus
pkg-config
udev
wayland
libxkbcommon
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
# stdenv.cc.cc
pkgs.libxkbcommon
pkgs.vulkan-loader
];
env = {
RUST_BACKTRACE = "full";
WINIT_UNIX_BACKEND="wayland";
};
} |
Both The error message first included in the issue are from winit:
The second is from wgpu:
I'm going to close this issue since Bevy can't do much about it, but feel free to continue commenting if you have questions, or raise another issue if you have more problems! |
Bevy version
The release number or commit hash of the version you're using.
0.13.2
[Optional] Relevant system information
Im running nixos with hyprland as my window manager here are packages in my nix-shell
What you did
Just a added a regular DefaultPlugin to the app.
What went wrong
It refused to compile with this output
Additional information
Other information that can be used to further reproduce or isolate the problem.
This commonly includes:
Not much I think this has to do something with me being on wayland.
The text was updated successfully, but these errors were encountered: