News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Configuration Code::Blocks + wxpack for static linking (MinGW WinXP)

Started by mad2801, May 26, 2009, 03:07:41 PM

Previous topic - Next topic

mad2801

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

Dr.Optix

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



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:


or



~Dr.Optix
Occupation: Hobby Programmer
IDE: Code::Blocks Nightly / CodeLite Latest Stable
Compiler: TDM's GCC/mingw32
Blog: [url="//droptix.wordpress.com"]DrOptix.WordPress.Com[/url]