Code::Blocks Forums

User forums => Help => Topic started by: mad2801 on May 26, 2009, 03:07:41 pm

Title: Configuration Code::Blocks + wxpack for static linking (MinGW WinXP)
Post by: mad2801 on May 26, 2009, 03:07:41 pm
Hi

I've got problems with getting Code::Blocks compiling/building statically on Windows! I already tried to find help within that forum without success so far....  :(

Could anyone please help me and give me some information how I should configure Code::Blocks correct when trying to link statically!? Something like a short HowTo would be great....

Dynamically linking works perfect but I do not want to deliver external DLL files next to my app files...

thx
mad2801
Title: Re: Configuration Code::Blocks + wxpack for static linking (MinGW WinXP)
Post by: Dr.Optix on May 26, 2009, 08:26:45 pm
Start the wizard for WX project then check this screen and setup your screen as it is(you may not want to setup the advanced settings):

(http://img17.imageshack.us/img17/8008/wxstaticstep1.th.png) (http://img17.imageshack.us/my.php?image=wxstaticstep1.png)

Then select the additional libs you may use, i usualy select all of them from the list or i add them manual with
Project ->Build Options -> Linker Settings:

(http://img7.imageshack.us/img7/346/wxstaticstep2.th.png) (http://img7.imageshack.us/my.php?image=wxstaticstep2.png)
or
(http://img7.imageshack.us/img7/7489/wxstaticstep2variant.th.png) (http://img7.imageshack.us/my.php?image=wxstaticstep2variant.png)


~Dr.Optix