jakowskidev / uMario_Jakowski

uMario C++/SDL2 Game by Łykasz Jakowski
GNU General Public License v2.0
791 stars 248 forks source link

CMake error when compiling #23

Closed leos313 closed 1 year ago

leos313 commented 1 year ago

When compiling for the first time I get this CMake error:

-- Could NOT find SDL2_mixer (missing: SDL2_MIXER_LIBRARIES SDL2_MIXER_INCLUDE_DIRS) 
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

Any idea on how to solve it?

leos313 commented 1 year ago

solved on a Ubuntu 22.04:

sudo apt install libsdl2-mixer-dev libsdl2-image-dev libsdl2-dev