The official Charlie2D Project Template
Install cmake, sdl2, sdl2_ttf, sdl2_mixer, sdl2_gfx, sdl2_image Note: When you distriute your game the users will also have to install those packages (besides cmake of course), I recomend you don't distribute linux builds for this reason
Compile
mkdir build
cd build
cmake ..
make
./index
Download and install Cmake (Downloads)
Download and install the Mingw Compiler for x86_64 (Downloads)
Extract and add the bin folder to your PATH env variable (Guide)
Compile
mkdir build
cd build
cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ..
cmake --build .
.\index.exe