After running, the white screen flashes back, indicating that the array is out of bounds
My environment is Windows and I have the latest raylib 5.0 installed, and the latest raygui 4.0 installed. After configuring the environment as described in the issue-introduction, when I tried to run controller.exe, I encountered the following problem: after a few seconds of loading on the white screen, the window automatically crashed.
I found the console message at the time of the crash: process exited with code 3221225477 (0xc0000005). Google says this code represents an array out of bounds. But I don't know exactly what went wrong.
Not sure what could be wrong but you could try running it through gdb to get a better idea of where it is crashing and what the issue might be.
What version of rayLib and rayGui should I be using? I am getting a similar issue to OP. Could the issue be due to a version mismatch?
Could be. Unless you have some more information such as a stack trace there is no way I can help debug what might be wrong unfortunately.
I got the same problem, #BUILD_MODE ?= RELEASE, just comment out this line in makefile is ok.