How to fix bugs in SDL_mixer, and errors such as:
"SDL_stdinc.h No such file or Directory"
"SDL_rwops.h No such file or Directory"
"SDL_audio.h No such file or Directory"
"SDL_version.h No such file or Directory"
"SDL_endian.h No such file or Directory"
"SDL_code.h No such file or Directory"
"begin_code.h No such file or Directory"
"close_code.h No such file or Directory"
and much more.
If you tried to download SDL_mixer from the internet, you will see that the include directory contains only a file named: SDL_mixer.h, well to make the library work you need something more, you need the entire SDL2 library, and it needs to be in the same directory, because linking the files from different directories it won't work.
You can download the entire SDL2 Library with SDL_mixer included from
here!After you download this, all you need to do is to link them into your MINGW compiler.
Note: if you are using Microsoft Visual Studio, you need to download the files for VS, so those files won't work...
Good luck!
Read about linking
here!