philj56 / greetd-mini-wl-greeter

Extremely minimal raw Wayland greeter for greetd.
MIT License
31 stars 2 forks source link

Error: Failed to load sharder shaders/vert.vert: No such file or directory #2

Open machitgarha opened 1 month ago

machitgarha commented 1 month ago

When building from source, shaders aren't visible to greetd-mini-wl-greeter, so executing it from anywhere other than the directory including the shaders leads to a crash with the following error:

[ERROR]: Failed to load shader shaders/vert.vert: No such file or directory.

This is surely unintended behavior, as the AUR installation works perfectly (used Toolbox to test).

machitgarha commented 1 month ago

So I read the PKGBUILD of the AUR package, and changed the build type to release, and everything is now working perfectly. I don't know if in debug build type this is intended behavior or not.