I'm not sure how to fix it. Things were working fine until now.
\nIf I downgrade to 1.11 the fail continues, this makes me suspect it's a dependency issue. If I restore the lock, things work again
I checked the blog and the changelog, but couldn't find any hints.
\nMy system:
\nOS: NixOS
\nDE: KDE
Thanks!
","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"For future referece, I was missing the libGL
in my LD_LIBRARY_PATH
env in the shell:
pkgs.mkShell {\n # other things\n LD_LIBRARY_PATH = \"$LD_LIBRARY_PATH:${\n with pkgs;\n lib.makeLibraryPath [\n wayland\n libxkbcommon\n fontconfig\n libGL\n ]\n }\";\n}
-
Hi everyone, I just updated to slint 1.12 from 1.11 and I get this error:
I'm not sure how to fix it. Things were working fine until now. I checked the blog and the changelog, but couldn't find any hints. My system: Thanks! |
Beta Was this translation helpful? Give feedback.
-
I believe this error originates from glutin when it failed to dynamically load the EGL libraries. From the code: ( pub(crate) static EGL: Lazy<Option<Egl>> = Lazy::new(|| {
#[cfg(windows)]
let paths = ["libEGL.dll", "atioglxx.dll"];
#[cfg(not(windows))]
let paths = ["libEGL.so.1", "libEGL.so"];
unsafe { SymWrapper::new(&paths).map(Egl).ok() }
}); I don't believe those paths/names have changed, but I can only see |
Beta Was this translation helpful? Give feedback.
-
For future referece, I was missing the pkgs.mkShell {
# other things
LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${
with pkgs;
lib.makeLibraryPath [
wayland
libxkbcommon
fontconfig
libGL
]
}";
} |
Beta Was this translation helpful? Give feedback.
For future referece, I was missing the
libGL
in myLD_LIBRARY_PATH
env in the shell: