LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
Hello @Spasi I am working on getting cross compilation working on my ubuntu machine, and I am running into an issue (some step that I am missing).
I setup my packages the same as the lwjgl-ci does, and am attempting to compile in the same way:
set LWJGL_BUILD_TYPE=nightly
set LWJGL_BUILD_ARCH=arm64
ant -emacs hydrate-kotlinc clean-generated generate
ant -emacs compile
ant -emacs compile-native -Dgcc.libpath.opengl=/usr/lib/aarch64-linux-gnu/mesa
But it still produces x64 binaries.
Can you please tell me what I am doing wrong?
I found my mistake. After spending hours running builds to troubleshoot this, I remembered there is a difference between set and export! I guess I have spent too much time doing Windows development lately.
Question
Hello @Spasi I am working on getting cross compilation working on my ubuntu machine, and I am running into an issue (some step that I am missing).
I setup my packages the same as the lwjgl-ci does, and am attempting to compile in the same way:
But it still produces x64 binaries. Can you please tell me what I am doing wrong?
Thank you, Trevor