I tried to use sdl wizard on codeblocks but it complained about the sdl.h tried to find a solution hope it helps. The directory structure is changed thats why you are going to get this warning.

If you are using sdl 1.2 and codeblocks 8 on windows, go to your Codeblocks installataion directory (I assume that you have installed it to your C:\Program Files\CodeBlocks)

  1. C:\ProgramFiles\CodeBlocks\share\CodeBlocks\templates\wizard\sdl folder
  2. Open wizard.script file with notepad
  3. Find the if (!VerifyFile(dir_nomacro_inc, _T(“SDL.h”), _T(“SDL’s include”))) line in the script
  4. Change to if (!VerifyFile(dir_nomacro_inc, _T(“SDL/SDL.h”), _T(“SDL’s include”)))
  5. Save wizard.script file
  6. Open C:\ProgramFiles\CodeBlocks\share\CodeBlocks\templates\wizard\sdl\files
  7. Open main.cpp file,which holds template file for your sdl project, find #include <SDL.h>
  8. Change to #include <SDL/SDL.h>
  9. Save main.cpp file
  10. Then add a new sdl project with codeblocks
Blogged with the Flock Browser