Unable To Build SDL2 Game From Makefile On Arch Linux(manjaro)?

Hi,

I recently moved from Linux Mint KDE to manjaro KDE.
I am trying to compile an SDL2 game using a makefile, but I receive the following error in terminal:

[jezxlee@NewThinClient TC4T-WinLinux-Retail2]$ make
g++ -pipe -Wall -g -I/usr/include/SDL2 -D_REENTRANT -c src/main.cpp -o src/main.o
g++ -pipe -Wall -g -I/usr/include/SDL2 -D_REENTRANT -c src/audio.cpp -o src/audio.o
src/audio.cpp: In member function ‘void Audio::SetupAudio()’:
src/audio.cpp:80:30: error: ‘MIX_INIT_MODPLUG’ was not declared in this scope
int flags = MIX_INIT_OGG|MIX_INIT_MODPLUG;
^~~~~~~~~~~~~~~~
src/audio.cpp:80:30: note: suggested alternative: ‘MIX_INIT_MOD’
int flags = MIX_INIT_OGG|MIX_INIT_MODPLUG;
^~~~~~~~~~~~~~~~
MIX_INIT_MOD
make: *** [makefile:49: src/audio.o] Error 1
[jezxlee@NewThinClient TC4T-WinLinux-Retail2]$

On Linux Mint KDE I would install SDL2 via Synaptic Package Manager.
I think I installed all the SDL2 dependencies via Octopi on manjaro KDE.

Not sure how to proceed, any help would be appreciated, thanks!
(game requires g++, SDL2, SDL2_Image, SDL2_Mixer, & SDL2_TTF)

Jesse

The suggested alternative is what you want, just change MIX_INIT_MODPLUG to MIX_INIT_MOD - this allows the game to run with SDL_mixer regardless of what MOD playing engine is being used.

Thanks, that worked!

Jesse