This project use SDL2 and SDL_image only.
in order to compile it, add a bin
folder with the .dll
Also add the .a
, .la
and .dll
to lib
SDL : https://github.com/libsdl-org/SDL/releases/tag/release-2.28.0 SDL image : https://github.com/libsdl-org/SDL_image/releases
Make sure you choose the devel
version
Gcc compilation command :
gcc -O0 -fdiagnostics-color=always -g ./src/*.c ./src/context/*.c ./src/util/*.c ./src/collection/*.c ./src/scene/*.c ./src/graph/*.c -Wall -Wextra -Iinclude -Llib -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -o ./bin/main.exe
./bin/main.exe