subsoap / defos

Extra native OS functions for games written using the Defold game engine
Creative Commons Zero v1.0 Universal
112 stars 16 forks source link

Updating to Clang 17 in Defold 1.6.2 #131

Closed JCash closed 10 months ago

JCash commented 10 months ago

Hi!

In Defold 1.6.2, we have (finally) updated clang to version 17, and that means that the current version of libXrandr won't work, as it's not built with the correct flags (-fPIC or -fPIE). The engine libraries are built using -fPIC, and the newer linker won't accept it.

There will be a beta version out today that will be possible to use for testing.

(Our integration test errors for DefOS)

(I'm guessing grabbing it from a package manager like https://launchpad.net/ubuntu/+source/libxrandr or similar should work)