Patch #2427 2008-04-03 18:37

unition

irrlicht wizard patch for *nix
Download
2427-irrlicht_wizar.patch (1.2 KB)
Category
Application::Bugfix
Status
Closed
Close date
2008-04-05 15:09
Assigned to
biplab
Index: wizard.script
===================================================================
--- wizard.script    (revision 4985)
+++ wizard.script    (working copy)
@@ -43,11 +43,14 @@
             return false;

 

         // verify include dependencies

-        local dir_nomacro_inc = GetCompilerIncludeDir(dir, IrrlichtPathDefault, IrrlichtPathDefaultInc);

+        local dir_nomacro_inc = GetCompilerIncludeDir(dir, IrrlichtPathDefault, IrrlichtPathDefaultInc);
+

         if (dir_nomacro_inc.IsEmpty())

-            return false;

+            return false;
+

         if (PLATFORM != PLATFORM_MSW)

-            dir_nomacro_inc = dir_nomacro_inc + _T("/irrlicht");

+     //       dir_nomacro_inc = dir_nomacro_inc;
+

         if (!VerifyFile(dir_nomacro_inc, _T("irrlicht.h"), _T("Irrlicht's include"))) return false;

 

         // verify library dependencies

@@ -95,7 +98,7 @@
         else

         {

             if (PLATFORM != PLATFORM_MSW)

-                IrrlichtPathDefaultInc = IrrlichtPathDefaultInc + _T("/irrlicht");

+                IrrlichtPathDefaultInc = _T("/irrlicht") + IrrlichtPathDefaultInc ;

         }

 

         // try to resolve the library directory as macro
biplab 2008-04-05 15:09

The patch was quite unusable. I've fixed the bug with a different patch.

Thanks for your patch.