Author Topic: Broken SDL Wizard...  (Read 3358 times)

grinch

  • Guest
Broken SDL Wizard...
« on: February 01, 2013, 09:47:53 pm »
I tried to use SDL project wizard with codeblocks 12.11.

My SDL library is properly uncompressed and the sdl variable is set to uncompressed folder.
When I try to compile,I get an error.It seems /SDL/ is added to include path.

I edited SDL Wizard script and modified the lines:

  if (VerifyFile(dir_nomacro_inc, _T("SDL/SDL.h"), _T("SDL's include")))
                SDLPathDefaultInc = SDLPathDefaultInc + _T("/SDL");
            else
                return false;

to

 if (VerifyFile(dir_nomacro_inc, _T("SDL/SDL.h"), _T("SDL's include")))
                SDLPathDefaultInc = SDLPathDefaultInc;
            else
                return false;

Now everything is working well.
Can someone update the script in release version?

Thanks