I\'ve recently decided to try working with SDL with CodeBlocks 10.05. I started with the tutorial on http://www.sdltutorials.com/sdl-tutorial-basics and did my best to follo
The only plausible reason for your problem I can think of is that when you created the file with main in it, you forgot to add it to build targets.

You should see CApp.cpp in the list where my main.cpp is. Right click on it and click Properties. Click on Build tab in the window that pops up. You should see this:

Click OK, hit Ctrl+F11 (Rebuild).
Good luck.