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
{{ message }}
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
Basically Patch 0004 doesn't work due to an undefined reference as desired is no longer a valid variable in my tested version of GLFW 3.3.9 on Gentoo. Which creates an undefined reference with chooseEGLConfig()
[16/106] /usr/bin/x86_64-pc-linux-gnu-gcc -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/include -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9_build-abi_x86_64.amd64/src -march=raptorlake -O2 -pipe -std=gnu99 -fPIC -Wall -fvisibility=hidden -Wdeclaration-after-statement -MD -MT src/CMakeFiles/glfw.dir/egl_context.c.o -MF src/CMakeFiles/glfw.dir/egl_context.c.o.d -o src/CMakeFiles/glfw.dir/egl_context.c.o -c /var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c
FAILED: src/CMakeFiles/glfw.dir/egl_context.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/include -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9_build-abi_x86_64.amd64/src -march=raptorlake -O2 -pipe -std=gnu99 -fPIC -Wall -fvisibility=hidden -Wdeclaration-after-statement -MD -MT src/CMakeFiles/glfw.dir/egl_context.c.o -MF src/CMakeFiles/glfw.dir/egl_context.c.o.d -o src/CMakeFiles/glfw.dir/egl_context.c.o -c /var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c
/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c: In function ‘chooseEGLConfig’:
/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c:197:34: error: ‘desired’ undeclared (first use in this function)
197 | if (u->alphaBits > 0 && !desired->transparent) {
| ^~~~~~~
/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c:197:34: note: each undeclared identifier is reported only once for each function it appears in
The second issue is related more so to the guide. It unfortunately doesn't provide me with a usable instance giving me the following error with versions < 1.19.x (my tested version being 1.18.2). As it's the latest version I can test without the 1.19 patch.
I am currently using LWJGL 3.2.2, had this same issue on Arch Linux as well with glfw-wayland, could this possibly be a hardware issue as I am using Nvidia? Or issue with Desktop Environment as I am currently running KDE Plasma 5.27.10.
Issues
Basically Patch 0004 doesn't work due to an undefined reference as
desiredis no longer a valid variable in my tested version of GLFW 3.3.9 on Gentoo. Which creates an undefined reference with chooseEGLConfig()The second issue is related more so to the guide. It unfortunately doesn't provide me with a usable instance giving me the following error with versions < 1.19.x (my tested version being 1.18.2). As it's the latest version I can test without the 1.19 patch.
I am currently using LWJGL 3.2.2, had this same issue on Arch Linux as well with glfw-wayland, could this possibly be a hardware issue as I am using Nvidia? Or issue with Desktop Environment as I am currently running KDE Plasma 5.27.10.
Any more information can be provided if need be.