User forums > Using Code::Blocks

Get wxWidgets 3.0 to work on C::B, Win7

<< < (5/7) > >>

thor36:
Where in Wizard do I select this ? It slipped my eyes so far.

32 bit would be better IMO.

stahta01:
You could have to edit the Wizard Script; but, I gave a rename/copy choice below.
Decided editing scripts would be to chancy for a CB newbie to do.

Around line 300 is this code.

--- Code: ---        local lib = WxPath + _T("/lib/");
        if (GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("gcc*")))
        {
            lib = lib + _T("gcc_");

--- End code ---

For 32 bit libs will need to be like this.


--- Code: ---        local lib = WxPath + _T("/lib/");
        if (GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("gcc*")))
        {
            lib = lib + _T("gcc48_");

--- End code ---

Tim S.

stahta01:

--- Quote from: thor36 on February 01, 2014, 04:42:57 am ---Where in Wizard do I select this ? It slipped my eyes so far.

32 bit would be better IMO.

--- End quote ---

Its NOT in the Wizard; the Wizard is for self built wxWidgets using the Directions on the page linked in my first or second post.

Tim S.

stahta01:
I think you are starting to see why I self build.

Tim S.

stahta01:

--- Quote from: stahta01 on February 01, 2014, 04:44:04 am ---You are also going to have to edit the Wizard Script.

Around line 300 is this code.

--- Code: ---        local lib = WxPath + _T("/lib/");
        if (GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("gcc*")))
        {
            lib = lib + _T("gcc_");

--- End code ---

For 32 bit libs will need to be like this.


--- Code: ---        local lib = WxPath + _T("/lib/");
        if (GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("gcc*")))
        {
            lib = lib + _T("gcc48_");

--- End code ---

Tim S.

--- End quote ---

If you do NOT wish to edit the script you can instead rename or copy the correct folder under lib to just be gcc_dll instead of gcc48_dll.

Then, the wizard will work for 32 Bit; this might NOT be a good idea for the 64bit folder.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version