Author Topic: wx3.3.x library build  (Read 308 times)

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 163
wx3.3.x library build
« on: Yesterday at 12:27:26 am »
Hello,

Has anyone been able to successfully build the widgets libraries for release 3.3.x ?

Thanks  :) :)

Online stahta01

  • Lives here!
  • ****
  • Posts: 7824
    • My Best Post
Re: wx3.3.x library build
« Reply #1 on: Yesterday at 01:03:50 am »
Yes, I did it today for git master branch of wxWidgets under MSys2 UCRT64 MinGW GCC.
I have not yet built Code::Blocks that used it and have no plans to do it in the near future.
Edit: Since someone wanted info I have decided to build wxWidgets today in a MSys2 MinGW package that is easy to build C::B against

I did build Code::Blocks against wx3.3.2 in the past week

Tim S.
« Last Edit: Yesterday at 01:16:16 am by stahta01 »
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 163
Re: wx3.3.x library build
« Reply #2 on: Yesterday at 03:01:29 am »
Thanks Tim, for the information! I am having no luck with wx3.3.x using Winlib's gcc/gnu 15.2.0 compiler. I've used Winlib's compilers for almost the past year without any problems. It's possible that the problem is with their 15.2.0 compiler and wx3.3.x libraries?

Online stahta01

  • Lives here!
  • ****
  • Posts: 7824
    • My Best Post
Re: wx3.3.x library build
« Reply #3 on: Yesterday at 03:07:02 am »
Code
Name                    : Code::Blocks
Version                 : svn-r13831
SDK Version             : 2.25.0
Scintilla Version       : 3.7.5
Author                  : The Code::Blocks Team
E-mail                  : info@codeblocks.org
Website                 : https://www.codeblocks.org
OS                      : Windows 11 (build 26200), 64-bit edition
Scaling factor          : 1.000000
Detected scaling factor : 1.000000
Display PPI             : 96x96
Display count           : 1
Display 0 (\\.\DISPLAY1): XY=[0,0]; Size=[1920,1080]; Primary

wxWidgets Library (wxMSW port)
Version 3.3.3 (Unicode: wchar_t, debug level: 1),
compiled at Mar 31 2026 23:43:08

Runtime version of toolkit used is 10.0.26200.

What wxWidgets build method are you using?
1. configure/make
2. mingw32-make -f makefile.gcc
3. cmake

I use cmake method to build wxWidgets and configure/make to build Code::Blocks

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 163
Re: wx3.3.x library build
« Reply #4 on: Yesterday at 10:10:02 pm »
I downgraded to winlib's gnu/gcc 15.1.0 compiler. Then, I used "mingw32-make.exe -f makefile.gcc CFG=64 BUILD=Release SHARED=1 MONOLITHIC=1" to  successfully build wx3.2.8.

What is the configure/make method you used for codeblocks? The usual method, that I use, is to execute a host codeblocks and then open the source wx32_64.cbp. Now, I'm getting failures because wxmsw32u cannot be found. Any ideas why it cannot find that dll file?

Online stahta01

  • Lives here!
  • ****
  • Posts: 7824
    • My Best Post
Re: wx3.3.x library build
« Reply #5 on: Yesterday at 11:49:41 pm »
The "CFG=64" likely means you need to edit the cbp file to file the DLL

Edit: Try editing the "WX_CFG" under the project custom variables.

Unix like systems supports configure/make build method. I use MSys2 MinGW UCRT64 environment.

Tim S.
« Last Edit: Today at 12:07:16 am by stahta01 »
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org