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
Define SDL_MAIN_HANDLED before you include the SDL libs:
SDL_MAIN_HANDLED
#define SDL_MAIN_HANDLED #include #include #include
More info: I'm using the SDL functions without the SDL_main be defined. Is that fine?