dashed / tetris-sdl-c

🕹️ A toy project implementing a simple tetris clone in C for learning SDL 2.x.
MIT License
78 stars 20 forks source link

cant compile it on arch linux #5

Open MehdiQaos opened 3 years ago

MehdiQaos commented 3 years ago

tetris-sdl-c/src/init.h:6:multiple definition ofwindow'; init.o:/tetris-sdl-c/src/init.h:6: first defined here tetris-sdl-c/src/init.h:7: multiple definition of render'; init.o:/tetris-sdl-c/src/init.h:7: first defined here tetris-sdl-c/src/input.h:4: multiple definition ofTETROMINO_ACTION'; input.o:/tetris-sdl-c/src/input.h:4: first defined here collect2: error: ld returned 1 exit status make: *** [makefile:17: tetris_toy] Error 1