-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to compile libopenal.so for arm (Linux) #158
Comments
LWJGL2 is no longer being maintained. You should probably be looking for LWJGL3. ARM was not a supported target for this project. LWJGL3 supports Linux ARM32/64 variants, however it doesn't yet support ARM Macs natively. |
Is there a third party build.xml for LWJGL2 for |
Sorry, I am not a game developer. I just want to run a lower version of Minecraft on my Raspberry Pi. It is not compatible with lwjgl3. I modified the build.xml to try to compile lwjgl2 for arm, but the game can run normally, but Could not initialize sound system |
The openal that comes with the operating system cannot be used because there is no function related to lwjgl, and the reference will directly cause the game to crash |
Oh sorry, I should have been more detailed. I am talking about macOS |
uhhhhh, I don’t have a Mac, but I think the code is too old, maybe the compiler toolchain doesn’t support it Try it in /platform_build/macosx-ant/build.xml I think it might not work |
I tried that and now I get:
I have XCode though which has this header. edit: I fixed that issue and another one in which it couldn't find
more info:
I am on macOS Big Sur.
|
I managed to get LWJGL 2 to compile by tweaking the ant files and fixing a few errors in the macOS native code. |
@r58Playz Could you get in contact with me and tell me how you fixed it? I'm trying to do the same thing you are. |
@r58Playz Both would be nice if you can. |
All in one repo with precompiled binaries: https://github.com/r58Playz/lwjgl2-m1 |
The title is misleading and I have edited it. At the same time, I also found a way. Now Minecraft 1.12 sounds can work normally on my Raspberry Pi. I will announce the method until the weekend. |
In fact, the openal library of lwjgl 3 is compatible with lwjgl2. You only need to repackage the jar file and add the openal runtime library. From these two links, you can find the pre-compiled libopenal.so. arm32:https://build.lwjgl.org/stable/linux/arm32/libopenal.so arm64:https://build.lwjgl.org/stable/linux/arm64/libopenal.so The following is my packaged file, which contains openal. Unzip this file, rename it and put it in the designated place. After starting the game, you will find that your game has sound. [Note:This No support Apple M1] |
i try openal-soft ,but this can't work
The text was updated successfully, but these errors were encountered: