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
Include aarch64 darwin in the jar? #36
Comments
|
saw the readme note |
|
I've added it to the 4.5 release, but it's completely untested. |
|
there's some crazy glitches regarding raygui, especially with GuiWindowBox. Any container widget in fact, it all jumps raound to random parts of the screen, sometimes to half the screen height minus half the height of the widget, sometimes to (0, 0), and sometimes far outside the screen. with my custom 4.2.0 build, it is just ridiculously crashy. Random memory allocation errors such as with Metal, OpenGL or the objective-C to C interop layer (malloc) happen. Havent tested custom 4.5.0 builds yet. |
|
Does this happen on other platforms or just macOS arm64? Is my 4.5.0-0 build worse than your 4.2 build? |
|
the memory related crashes do happen on other platforms (namely linux amd64, im using gentoo with a relatively normal system config), and i havent tested the 4.5.0-0 build on my gentoo box yet. however, there are zero graphics crashes with the 4.2.0 version, yet there are many many graphics bugs in 4.5.0. Is it possible for you to also update raygui up to 4.0 for compatibility with tools like rguistyler and rguilayout? i had to manually refactor to get it to work with the older bundled raylib 3.6. |
|
It sounds like it’s either:
I wasn’t sure that Raygui 4.0 was compatible with Raylib 4.5. Yes I can update to that if it is. |
|
raygui 4.0 did get released with raylib 4.5 if i remember correctly, so it should work. I'm not sure if it is my code, i have a complex hiearchy of managing when objects are being rendered or not and function calls that manages manual instantiation and deallocation of BytePointers (any TypePointer from javacpp really). i'll still check if its an error on my end, but for now, it is a god knows what is happening situation. These crashes are completely random, too, the exact same input sequence can sometimes crash or not crash. |
|
Try disabling Java GC with JVM command line options And try disabling your own deallocation code. |
|
i've decided to give up on this project and rewrite it in another language, but i can say that its a tad more stable with those options on and the deinit code disabled. |
|
If you want to use Java then Swing, JavaFX and Jetpack Compose are all far superior GUI libraries than RayGUI and they don’t require any C memory management (which seems to be the issue here). |
|
Yes, but my project's main focus is actually graphics with raylib, and raygui was only an afterthought. Since I have no more requests, I'm closing this issue. |


I need compatibility for aarch64 macOS for my project for a school assignment, is there a way that you can add that?
The text was updated successfully, but these errors were encountered: