News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Broken SDL Wizard...

Started by grinch, February 01, 2013, 09:47:53 PM

Previous topic - Next topic

grinch

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