Build: Debug in Tutorial1 (compiler: GNU GCC Compiler).
SET CODEBLOCKS COMPILER CODE
I mainly work under Linux, so that’s my setup which I use to test my code under Windows. This could show errors, however, if you try to compile other people’s code.
SET CODEBLOCKS COMPILER DOWNLOAD
> Download the mingw binaries from the SDL website > Remove anything that has to do with SDL from Codeblocks/MinGW. If that is easy for you, and you’ll be using SDL2, just for compiling your programs, try this method: I have followed this Installation guide as well, and it still shows that I cannot find -lSDL or -lSDLmain.