I installed SDL_mixer to handle sounds with SDL but when I try to compile my code I get this error:
undefined reference to `Mix_OpenAudio'|
I also have the same error for all of SDL_mixer's functions. I've linked -lSDL_mixer and have SDL/SDL_mixer.h as a header and I've also extracted the lib file to SDL/lib and copied the .dlls to my .exe so I'm not sure what it could be.
If anyone has any help it'd be greatly appreciated.