Author Topic: How to set the option to build wxwidgets 2.8.10 for codeblocks?  (Read 6793 times)

Offline donaldtone

  • Single posting newcomer
  • *
  • Posts: 2
How to set the option to build wxwidgets 2.8.10 for codeblocks?
« 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252

Offline donaldtone

  • Single posting newcomer
  • *
  • Posts: 2
Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
« Reply #3 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
« Reply #4 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Feneck91

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
« Reply #5 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
« Reply #6 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Feneck91

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: How to set the option to build wxwidgets 2.8.10 for codeblocks?
« Reply #7 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 !
« Last Edit: January 12, 2010, 08:10:11 pm by Feneck91 »