Cate&Mia

Results 25 comments of Cate&Mia

hm... edge should be fully up to date, perhaps some work with LXC needs to be done, I'll look around and see if I can fix things over on Alpine

> Seems like we'd need to detect FreeBSD like this: https://github.com/arksu/libgdx-freebsd/blob/master/gdx-patched/gdx/src/com/badlogic/gdx/utils/SharedLibraryLoader.java#L38 Used here: https://github.com/arksu/libgdx-freebsd/blob/master/gdx-patched/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/LwjglNativesLoader.java#L60 Maybe better to make `isLinux` true when on FreeBSD. > > We could make these changes...

So far compilation works but gdx-freetype has issues getting headers since /usr/local/freetype2 isn't in the include folders since $CC_FLAGS is ignored

I'll write a patch to modify the headers to pull from `/usr/local/freetype2/` but if `-I/usr/local/freetype2/` could somehow be added to the CC_FLAGS that would also work

seems that modifying extensions/gdx-freetype/jni/build-linux64.xml:25 to include `${CC_FLAGS}` fixes this; if one runs `export CC_FLAGS="$CC_FLAGS -I/usr/local/freetype2"` however I can't seem to find out where build-linux64.xml actually comes from since it's not...

Thanks, was able to modify that instead to produce a successful build pretty sure, heres a patch file. [freebsd-build.patch.txt](https://github.com/libgdx/libgdx/files/9418865/freebsd-build.patch.txt)

> Thanks, was able to modify that instead to produce a successful build pretty sure, heres a patch file. > > [freebsd-build.patch.txt](https://github.com/libgdx/libgdx/files/9418865/freebsd-build.patch.txt) Pretty sure if [extensions/gdx-freetype/build.gradle](https://github.com/libgdx/libgdx/blob/master/extensions/gdx-freetype/build.gradle) is just edited to...

yes that works, library properly builds, I can't test cross compiling but I'll submit a pr since it does produce working libraries.