-
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.
Replies: 2 comments 1 reply
-
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: