You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been trying to set up a pipeline to automatically build my game. While the Windows builds work exactly as expected, Linux builds not so much (it works when built through cargo, but not through this action on GitHub)
You can check the generated releases here. The version 0.1.0 uses static linking for all platforms, and after launching the Linux build on my machines, it immediately panics (Failed to initialize any backend! Wayland status: NoCompositorListening). The version 0.1.1 uses dynamic linking for Linux (STATIC_LINKING: false), however this time I get very cryptic message bash: ./minesweeper6d: Directory or file does not exist.
Any ideas whether this is bug, issue of configuration, or something else?
The text was updated successfully, but these errors were encountered:
I'm not sure about the missing backend, that would likely be caused by the program not being able to locate x11 or wayland: which are you using? Can other GUI apps launch from same terminal you launch this program?
It could possibly be caused if egui framework programmatically detects the display backend at compile time: the build container doesn't have wayland or x11 so they wouldn't be detected hence no backend compiled in. Although I'm just guessing, I'm not familiar with egui.
The file not found error is caused by the dynamic linking: the executable produced is trying to load a library not present on your system (that was present in the build environment). You can use a tool like ldd to find which library is missing.
From this I am guessing egui does in fact determine the backend at runtime, not at compile time, however I'm not sure what the error really means, as I would hope static linking would be used for all the libraries.
Hi, I've been trying to set up a pipeline to automatically build my game. While the Windows builds work exactly as expected, Linux builds not so much (it works when built through
cargo
, but not through this action on GitHub)You can check the generated releases here. The version 0.1.0 uses static linking for all platforms, and after launching the Linux build on my machines, it immediately panics (
Failed to initialize any backend! Wayland status: NoCompositorListening
). The version 0.1.1 uses dynamic linking for Linux (STATIC_LINKING: false
), however this time I get very cryptic messagebash: ./minesweeper6d: Directory or file does not exist
.Any ideas whether this is bug, issue of configuration, or something else?
The text was updated successfully, but these errors were encountered: