Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: donaldtone on January 06, 2010, 05:49:37 am

Title: How to set the option to build wxwidgets 2.8.10 for codeblocks?
Post by: donaldtone on January 06, 2010, 05:49:37 am
I use this script to build
mingw32-make.exe -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
Does it all right?
I just wonder what the official building options are.
Title: Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
Post by: MortenMacFly on January 06, 2010, 06:43:51 am
mingw32-make.exe -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
You can add USE_XRC=1, too.
Title: Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
Post by: Jenna on January 06, 2010, 07:30:15 am
See also this wiki-article:
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef)
Title: Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
Post by: donaldtone on January 06, 2010, 03:42:20 pm
mingw32-make.exe -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
You can add USE_XRC=1, too.
In the config.gcc, there is already a setup:
USE_XRC = 1.
Does it mean that XRC already set by default 1.
Title: Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
Post by: MortenMacFly on January 06, 2010, 05:01:26 pm
Does it mean that XRC already set by default 1.
Yes. On the platform you are using obviously.
Title: Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
Post by: Feneck91 on January 12, 2010, 12:51:46 pm
If you are using MinGW in c:\ you can use :
Quote
PATH=C:\MinGW\bin;C:\MinGW\mingw32\bin

cd wxWidgets-2.8.10\build\msw

mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb clean
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb

pause

With VENDOR=cb you generate wxmsw28u_gcc_cb.dll dll, same as installed by the setup.
Title: Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
Post by: MortenMacFly on January 12, 2010, 04:37:11 pm
With VENDOR=cb you generate wxmsw28u_gcc_cb.dll dll, same as installed by the setup.
DON'T do that. This is done by the C::B devs for official builds only. If you compile C::B yourself don't use the vendor option.
Title: Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
Post by: Feneck91 on January 12, 2010, 08:05:57 pm
Ok.
I understand... I'll not use it anymore. I thought it was a good idea  :?
Quote
This is done by the C::B devs for official builds only
Why only one official version, last 8.02 is almost than two year ago ? For not developpers, its seems to be a dead project, but it's not !