electronstudio / jaylib

Java JNI bindings for Raylib
Other
126 stars 23 forks source link

MacOS Arm64 does not display windows #43

Closed Yeffian closed 7 months ago

Yeffian commented 7 months ago

System Information: M2 Macbook Air Sonoma 14.3.1

Trying to compile my project which depends on Jaylib results in the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Platform "macosx-arm64" not supported by class com.raylib.Raylib
    at org.bytedeco.javacpp.Loader.load(Loader.java:1184)
    at org.bytedeco.javacpp.Loader.load(Loader.java:1157)
    at org.bytedeco.javacpp.Loader.load(Loader.java:1133)
    at com.raylib.Raylib.<clinit>(Raylib.java:10)
    at dev.yeff.orbital.graphics.Window.start(Window.java:39)
    at dev.yeff.orbital.Game.start(Game.java:45)
    at dev.yeff.Main.main(Main.java:21)

Does Jaylib not support MacOS, or is there something I need to add myself, like an extra dependency, etc.?

Yeffian commented 7 months ago

Details of Java version attached below

Screenshot 2024-04-12 at 10 55 50 AM
Yeffian commented 7 months ago

https://github.com/electronstudio/jaylib/discussions/40#discussioncomment-9091669