I tried setting up Code::Block (codeblocks-10.05mingw-setup.exe) with SDL as instructed http://wiki.codeblocks.org/index.php?title=Using_SDL_with_Code::Blocks (the "Good" method) on Windows 7 but I can't get it to work.
I downloaded and unpacked SDL-devel-1.2.14-mingw32.tar.gz and copied
* sdl.dll to /CodeBlocks/MinGW/bin/
* the contents of /lib to /CodeBlocks/MinGW/lib/
* the folder SDL to /CodeBlocks/MinGW/include/.
Now in Code::Blocks when I click File -> New... -> Project -> SDL project -> Go -> I get to "please select SDL's location". Now no matter which directory I enter (I thought it would be /CodeBlocks/MinGW/) I get either the error "The path you entered seems valid, but this wizard can't locate the following SDL's include file: SDL.h in it." or that it can't find the include directory or that there needs to be an include and a lib directory. What am I doing wrong?
Are you including SDL like :
#include <SDL/SDL.h>
or
#include <SDL.h>
otherwise you should post some code, not in here though, make another thread.