Closed maheshkurmi closed 2 years ago
I only worked on JOGL, so JOAL and JOCL should be upgraded the same way I did. Have you seen the howto where I explain how I did it ? The thing I do not understand is that I only built and deployed JOGL (and Gluegen) as RC4 maven artifact, so I wonder how you could even compile your project with these versions.
The thing I do not understand is that I only built and deployed JOGL (and Gluegen) as RC4 maven artifact, so I wonder how you could even compile your project with these versions. I just downloaded jar files and added to classpath and placed native library jars in same folder as the jar files, it worked. i also tried placing "dylib" files instead of native jars, it still worked.
I think I am using joal from joal-android-natives-macosx-universal.jar which may not be compiled for arm version. By the way I downloaded files from https://download.jzy3d.org/jogl/ since my java project is not a maven project.
Have you compiled joal for Mac arm64? If yes please share, else guide me how to do that?
I did not build JOAL for ARM64. If you want to do it, this documentation on enabling JOGL for ARM64 can help you.
You are welcome to do it on this mirror repository, so that I can later bundle it with JOGL. Using a branch name similar to the one I used for JOGL could help (feature/macosx-arm64).
Hope this helps!
I tried following documentation but I could't find the guide to be usable for building joal(May be it was't obvious for me only). In case you decide to build joal, please let me know.
Yes this is normal, it only documents how to patch JOGL, but I think you can use it to patch JOAL.
Thanyou very much for the help... Following your guide I managed to build joal native libs for mac arm64. You can find the native builds at https://github.com/maheshkurmi/jogl-macarm64-builds. You may update your maven repo with joal natives for arm64.
on MAcbook pro M1, opegl is running absolutely fine but when I try to use openAL, it gives error in loading library
I have added jogl-all, gluegen-rt, joal and all3 corressponding mac universal native jars in classpath. Do i need to add dylibs somewhere?