User forums > Using Code::Blocks

Bug in the wxWidgets wizard.

(1/1)

Max:
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


mandrav:
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...

rjmyst3:
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

sethjackson:

--- Quote from: 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

--- End quote ---

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

Navigation

[0] Message Index

Go to full version