Closed BrettWitty closed 1 year ago
That would not be related to this crate. It looks like you are running this over ssh. Run it locally
I did the following in a local terminal:
git clone https://github.com/zaycev/bevy-magic-light-2d.git
cd bevy-magic-light-2d
cargo run --example krypta
I got the above error. My distro:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
I assume the Cargo.toml
disabling all bevy default features and requiring wayland
might not work if I'm on X11 (as double-checked by XDG_SESSION_TYPE
.
Can you run other examples from the Bevy repo?
No, unfortunately, as per #14.
No I meant the actual Bevy repo, not bevy magic light. Have you successfully run any Bevy app before
Yes, I have. I just pulled the latest bevy main, and ran examples from that.
On bevy-magic-light-2d
I did cargo add bevy --features x11
which adds the x11
feature back in and the krypta
example compiles and runs. Disabling all default features and defaulting just to wayland
is the issue for some Linux setups.
In running
cargo run --example krypta
, I get