Alternatively easily modify the wizard accordingly (and, if you like, provide us with a patch). To do so directly from the page where you choose the wizards: Right-Click on the SDL wizard and select "Edit" (or was it "Modify"... I don't remember exactly). This wizard is very tiny - you will easily find the position where the include path is defined.
Tested Patch using MinGW GCC; With the changes I think MSVC needs, it finally worked OK.
Should be tested on an Linux Machine.
Should be tested Using MSVC.
FYI: The VC8 dev file did NOT use the include "SDL/SDL.h" used just "SDL.h".
Index: src/plugins/scriptedwizard/resources/sdl/files/main.cpp
===================================================================
--- src/plugins/scriptedwizard/resources/sdl/files/main.cpp (revision 5327)
+++ src/plugins/scriptedwizard/resources/sdl/files/main.cpp (working copy)
@@ -3,10 +3,10 @@
#else
#include <stdlib.h>
#endif
-#ifdef __APPLE__
-#include <SDL/SDL.h>
+#ifdef _MSC_VER
+ #include <SDL.h>
#else
-#include <SDL.h>
+ #include <SDL/SDL.h>
#endif
int main ( int argc, char** argv )
Index: src/plugins/scriptedwizard/resources/sdl/wizard.script
===================================================================
--- src/plugins/scriptedwizard/resources/sdl/wizard.script (revision 5327)
+++ src/plugins/scriptedwizard/resources/sdl/wizard.script (working copy)
@@ -47,8 +47,12 @@
local dir_nomacro_inc = GetCompilerIncludeDir(dir, SDLPathDefault, SDLPathDefaultInc);
if (dir_nomacro_inc.IsEmpty())
return false;
- if (!VerifyFile(dir_nomacro_inc, _T("SDL.h"), _T("SDL's include")))
+
+ local is_msvc = GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("msvc*"));
+ if (is_msvc && !VerifyFile(dir_nomacro_inc, _T("SDL.h"), _T("SDL's include")))
return false;
+ if (!is_msvc && !VerifyFile(dir_nomacro_inc, _T("SDL/SDL.h"), _T("SDL's include")))
+ return false;
// verify library dependencies
local dir_nomacro_lib = GetCompilerLibDir(dir, SDLPathDefault, SDLPathDefaultLib);