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
I installed OpenSUSE Leap 5.6 recently and tried to build for Wayland but this resulted in the following compilation error:
This issue seems to come from the fact that OpenSUSE installs their Wayland headers into /usr/include/wayland, i.e. in a subdirectory compared to Fedora that places their libraries directly into the /usr/include folder.
The text was updated successfully, but these errors were encountered:
I believe that I have a reproducer on Fedora 40 using go 1.22.5:
$ go run fyne.io/fyne/v2/cmd/fyne_demo@latest
# github.com/go-gl/glfw/v3.3/glfw
In file included from ./glfw/src/internal.h:188,
from ./glfw/src/context.c:30,
from ../../go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/c_glfw.go:4:
./glfw/src/x11_platform.h:36:10: fatal error: X11/Xcursor/Xcursor.h: No such file or directory
36 | #include <X11/Xcursor/Xcursor.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
@maximiliankolb I don't think so. First of all, contrary to this issue, you are compiling with X11 and not Wayland so it is not the same issue. Secondly, I've also been doing all my development on Fedora for multiple years at this stage without issues. The most likely culprit is missing dependencies. Have you followed the steps at https://docs.fyne.io/started/?
I installed OpenSUSE Leap 5.6 recently and tried to build for Wayland but this resulted in the following compilation error:
This issue seems to come from the fact that OpenSUSE installs their Wayland headers into
/usr/include/wayland
, i.e. in a subdirectory compared to Fedora that places their libraries directly into the/usr/include
folder.The text was updated successfully, but these errors were encountered: