Expected behavior
It should build? Unless Wayland only isn't possible?
Additional context
I don't have an NVIDIA GPU in this PC and I also try to keep my system Wayland native as possible. MangoHud is one of the last remnants of X11 on my system next to Steam. I figured I would try my luck at building a version without libx11.
I also tried building with mold as the linker to see if there was any more info. I created another issue about mold as it either fails or throws warning but that is separate from this. Here are the mold errors for with_x11=disabled:
mold: error: undefined symbol: XFree
>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(get_prop(char const*))
mold: error: undefined symbol: XSync
>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(main)>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(main)
mold: error: undefined symbol: XInternAtom
>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(get_prop(char const*))>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(main)>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(main)>>> referenced 1 more times
mold: error: undefined symbol: XChangeProperty
>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(main)>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(main)>>> referenced by <artificial>
>>> /tmp/cckUjnbr.ltrans0.ltrans.o:(main)>>> referenced 1 more times
mold: error: undefined symbol: XGetWindowProperty
This is my Minecraft PC which uses GLFW 3.4, which can run Minecraft natively over Wayland. If I can make MangoHud Wayland only as well, it would be great.
Describe the bug Fails building when
with_x11=disabled
is set. It builds whenwith_x11=enabled
is set.List relevant hardware/software information
To Reproduce Steps to reproduce the behavior:
makepkg -src
Expected behavior It should build? Unless Wayland only isn't possible?
Additional context I don't have an NVIDIA GPU in this PC and I also try to keep my system Wayland native as possible. MangoHud is one of the last remnants of X11 on my system next to Steam. I figured I would try my luck at building a version without libx11.
I also tried building with mold as the linker to see if there was any more info. I created another issue about mold as it either fails or throws warning but that is separate from this. Here are the mold errors for
with_x11=disabled
:This is my Minecraft PC which uses GLFW 3.4, which can run Minecraft natively over Wayland. If I can make MangoHud Wayland only as well, it would be great.