waddlesplash / xlibe

An Xlib compatibility layer implemented on top of the Haiku API, in order to run X11 applications on Haiku without an X server.
MIT License
91 stars 3 forks source link

Texstudio fails to build with xlibe #9

Closed Begasus closed 2 years ago

Begasus commented 2 years ago

As mentioned on the forum, I can't build TeXstudio anymore (been looking into some paths but without luck so far):

Snip from conversation on IRC

<Begasus_32>  .obj/XKeyboard.o: In function `kb::XKeyboard::XKeyboard()':
<Begasus_32>  XKeyboard.cpp:(.text+0x2d9): undefined reference to `XkbIgnoreExtension'
<Begasus_32>  XKeyboard.cpp:(.text+0x346): undefined reference to `XkbAllocKeyboard'
<Begasus_32>  .obj/XKeyboard.o: In function `kb::XKeyboard::set_group(int)':
<Begasus_32>  XKeyboard.cpp:(.text+0x13e8): undefined reference to `XkbLockGroup'
<Begasus_32>  collect2: error: ld returned 1 exit status
<Begasus_32>  Makefile:1124: recipe for target 'texstudio' failed

EDIT found a way to disable the need for the xkb sources with some patching, TeXstudio 4.2.0 up and running again, just posting this in case it could be valuable (can be closed if invalid)

waddlesplash commented 2 years ago

Yeah, anything that doesn't strictly need X11 should be built without it.