Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Max on September 19, 2006, 09:06:22 am

Title: Bug in the wxWidgets wizard.
Post by: Max on September 19, 2006, 09:06:22 am
Hi,

I found a bug (IMHO) in the wxWidgets wizard wizard.script

The lines

}

        if (IsDLL)
            lib = lib + _T("dll");

        lib = lib + Configuration;



should be something like

}

        if (IsDLL)
         {
            lib = lib + _T("dll");
         } else
         {
            lib = lib + _T("lib");
         }

        lib = lib + Configuration;


or the script will fail finding the library using the static one.



Bye

Max


Title: Re: Bug in the wxWidgets wizard.
Post by: mandrav on September 19, 2006, 09:17:55 am
Yes, up to now I only built the DLL unicode wx configuration so I couldn't test the other configurations and update the script. But in order to fix another bug, I am now building all possible wx configurations so I 'll fix this script in time too...
Title: Re: Bug in the wxWidgets wizard.
Post by: rjmyst3 on September 19, 2006, 01:28:26 pm
It seems sethjackson has already submitted a patch for this - I saw it on another thread.
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1465&group_id=5358 (http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1465&group_id=5358)
Title: Re: Bug in the wxWidgets wizard.
Post by: sethjackson on September 19, 2006, 05:34:42 pm
It seems sethjackson has already submitted a patch for this - I saw it on another thread.
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1465&group_id=5358 (http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1465&group_id=5358)

Yeah I posted this awhile back. Has no-one tried it???? :(
It works for me......