Closed Gramps closed 5 months ago
Can you let me know which which version of Python (the number and the bitness) you are using? That's probably necessary for me to try to track this problem down.
Sure, I was using Python 2.7 64-bit on Windows 10 64-bit. I also have Python 2.7 32-bit installed for game dev purposes but have not yet tried it with that; however, it is also installed from the wheel file for that version. Will attempt it later today and report back if there is a different response.
Thanks for looking into this! Works phenomenally on Linux!
Can confirm that it also gives that error on Python 2.7 32-bit.
Okay, I found that if I dump all the SDL2 DLL files into the project's base folder it will not crash. I'm not sure why this behavior exists on Windows and not Linux but it seems to... at least for me.
The only issue now is figuring out why none of my fonts load anymore!
UPDATE: Apparently installing the latest nightly solves this. I had reinstalled the original non-nightly version and it would not load my fonts at all. The nightly version does. This, by the way, is also a problem on Windows and not Linux.
Tested a simple sound + music example on windows 7 x64 python 3.5 x86 and got the same error. Also the same solution worked: if I copy smpeg2.dll to the project's directory it runs without errors. Installation of pygame_sld2 using src as of 06/07/2016.
I set the following error when trying to play music:
This is when using the latest nightly build of pygame_sdl2 for Windows. The Linux build using the non-nightly works fine though. Can confirm that smpeg2.dll is in the pygame_sdl2 folder though.
EDIT: Weird and possibly related, once I run the code and this error pops up my audio player stops working for a while. Listening to music while testing (Audacious) and the player stops.