For the last few days ive been trying to setup SDL with codeblocks but i have the same problem everytime, i download the libraries, i extract them to folder, i link them in codeblocks, i type this in tab: other linker options, -lmingw32 -lSDL2main -lSDL2 and when i try to run a program it gives me this error
||=== Build: Debug in SDL testing (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lSDL2main|
ld.exe||cannot find -lSDL2|
||error: ld returned 1 exit status|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===
can somebody help me with this please.