Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 839 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 839 Bytes

zz1_sprite

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

image image

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