Closed s-wallace closed 5 months ago
I was unable to recreate your issue with the linker error on my machine, so that may be an issue with the OSX lwjgl natives I included in the Raylib-J build.
As for the screenshot you provided, that may be another OSX specific bug with window scaling/high dpi. That's just an initial hunch though.
I do not own any apple devices, so I cannot test anything on my end.
Thanks for the follow up! Yes, I think the high DPI issue is something LWJGL+OSX specific. I'll try to follow up by looking through their issue log; it seems keeping some sort of reference with Raylib-J may help people avoid all the detective work in the future.
-Scott
On Wed, Sep 21, 2022 at 11:05 AM Calvin Day @.***> wrote:
I was unable to recreate your issue with the linker error on my machine, so that may be an issue with the OSX lwjgl natives I included in the Raylib-J build.
As for the screenshot you provided, that may be another OSX specific bug with window scaling/high dpi. That's just an initial hunch though.
I do not own any apple devices, so I cannot test anything on my end.
— Reply to this email directly, view it on GitHub https://github.com/CreedVI/Raylib-J/issues/37#issuecomment-1254052976, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJCPVZNGMITQQH2KQCHKUTV7NE6XANCNFSM6AAAAAAQSJTH5M . You are receiving this because you authored the thread.Message ID: @.***>
I'd recommend trying to enable the HIGH_DPI
config flag:
rlj.core.SetWindowState(Config.ConfigFlag.FLAG_WINDOW_HIGHDPI);
Describe the bug Using the existing RayLib-J_DEV-0.5.jar as the only dependency, initialization of rCore fails with UnsatisfiedLinkError in
InitGraphicsDevice
on the callGLFW.glfwSetErrorCallback(new com.raylib.java.core.Callbacks.ErrorCallback());
To Reproduce Steps to reproduce the behavior:
-Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true
Expected behavior Running application
Console output
Partial Remediation Adding lwjgl 3.2.3 to the classpath ahead of RayLib-J_DEV-0.5.jar will resolve the LinkError, however, in this case there appears to be an issue with the screen coordinate system (see screenshot below).
Environment