Then password (You can remove SDL_image and SDL_ttf if you do not need it, but if you follow m @ teo tutorial, you will need it at one time or another).
Then, in codeblocks, it is enough to make new SDL project, and normally it compiles alone (on the other hand, withdraws the main.cpp of the project, replaces it by main.c, saves in user-template to avoid having to do again the manipulation each time: you can call it SDL C). By default code :: blocks uses C ++ with SDL, and not C, the user template avoids this.
Post // thread SOLVED