I've installed CodeBlocks and SDL on a Mac. I created an sdl project using the codeblocks template and I get the the following message after trying to build and run the template:
-------------- Build: Debug in Test01 ---------------
Linking console executable: bin/Debug/Test01
ld: library not found for -lSDLmain
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I've spent a couple of hours on the web trying to find a solution but most of what I find is either for windows or for mac xcode.
JCR.