Mix_Init: MP3 support not available


#1

Hello,

I get these errors

Mix_Init: MP3 support not available
Mix_Init: OGG support not available (what ??? really ???)

while all dlls from SDL2_mixer-devel-2.0.2-VC are in the project folder

can someone help me out ?

thanks


#2

There was a bug in sdl2 mixer that reported that Ogg support wasn’t available (even though it was).

I believe you have to call SDL_Init(SDL_INIT_AUDIO) first.

You also need to make sure your program is running from the same directory as the dlls are. Easiest way to do that is to copy the program to the same directory as the dlls and run it by double clicking.