News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to set the option to build wxwidgets 2.8.10 for codeblocks?

Started by donaldtone, January 06, 2010, 05:49:37 AM

Previous topic - Next topic

donaldtone

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.

MortenMacFly

Quote from: donaldtone on January 06, 2010, 05:49:37 AM
mingw32-make.exe -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
You can add USE_XRC=1, too.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]


donaldtone

Quote from: MortenMacFly on January 06, 2010, 06:43:51 AM
Quote from: donaldtone on January 06, 2010, 05:49:37 AM
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.

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Feneck91

If you are using MinGW in c:\ you can use :
QuotePATH=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.

MortenMacFly

Quote from: Feneck91 on January 12, 2010, 12:51:46 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Feneck91

Ok.
I understand... I'll not use it anymore. I thought it was a good idea  :?
QuoteThis 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 !