edit: nvm. for some reason I no longer had the actual library files in the lib directories
It’s been a while since I last compiled my game. For some reason I can’t compile it for windows anymore:
x86_64-w64-mingw32-gcc -o bin/opengl-testapp-win64.exe src/obj/win64/main.o -lm -lmingw32 -Llib/SDL2-2.0.9/x86_64-w64-mingw32/lib -lSDL2main -lSDL2 -lws2_32 /usr/bin/x86_64-w64-mingw32-ld: cannot find -lSDL2 /usr/bin/x86_64-w64-mingw32-ld: cannot find -lSDL2main collect2: error: ld returned 1 exit status
I setup my build setup on debian9 and tested it on a separate debian10 machine before upgrading my development machine. Last time I tested it worked. But I reinstalled debian10 a few months ago, so it seems I must have forgotten something crucial at that time.
I’m pretty lost here. I hope somebody can help.