renpy / pygame_sdl2

Reimplementation of portions of the pygame API using SDL2.
GNU Lesser General Public License v2.1
326 stars 64 forks source link

MIX_INIT_MODPLUG and MIX_INIT_FLUIDSYNTH undefined #89

Closed Elinvention closed 6 years ago

Elinvention commented 6 years ago

I can't build pygame_sdl2 and I found this related StackOverflow question https://stackoverflow.com/questions/48016953/pygame-sdl2-build-error-in-python-3-6-4.

I have SDL 2.0.7 from Debian testing.

slackerbob commented 6 years ago

I'm having the same issue on Arch Linux.

I was able to get it to build by replacing all instances of MIX_INIT_MODPLUG with 0x20 and MIX_INIT_FLUIDSYNTH with 0x4, but I have no idea if this is breaking so far as I haven't been able to get much to run with pygame_sdl2 yet.

I hope the author comes back and fixes this issue, but it looks like this is a dead project.

pdvrieze commented 6 years ago

Just replacing them would be incorrect. These modules cannot be initialised. Removing the reference would be better.

renpytom commented 6 years ago

I'll take care of this shortly, as we don't need the MOD support.