Closed heeeeeeeeeeh closed 1 month ago
I just ran into the same issue. I am not the maintainer, but I looked into it and managed to get pygame_sdl2 to compile successfully. Your analysis is correct, but SDL_JoystickGetDeviceInstanceID is only the beginning of the problems. The various commits made to this repo require other symbols that are also missing from renpy/pygame_sdl2_windeps.
Here is what I did on Windows in case it is useful to anyone:
On the sdl2 branch in libsdl-org/SDL there is a function SDL_JoystickGetDeviceInstanceID in joystick.h. I don't see it in the version of sdl2 the pygame_sdl_windeps repo has which is why the build fails. Is a newer version of SDL needed for the build to work?