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

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 164
wx3.3.x library build
« on: April 01, 2026, 12:27:26 am »
Hello,

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

Thanks  :) :)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7828
    • My Best Post
Re: wx3.3.x library build
« Reply #1 on: April 01, 2026, 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: April 01, 2026, 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: 164
Re: wx3.3.x library build
« Reply #2 on: April 01, 2026, 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7828
    • My Best Post
Re: wx3.3.x library build
« Reply #3 on: April 01, 2026, 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: 164
Re: wx3.3.x library build
« Reply #4 on: April 01, 2026, 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7828
    • My Best Post
Re: wx3.3.x library build
« Reply #5 on: April 01, 2026, 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: Yesterday 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7828
    • My Best Post
Re: wx3.3.x library build
« Reply #6 on: Yesterday at 04:55:01 am »
Try editing the "WX_CFG" under the project custom variables.
Any luck?

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: 164
Re: wx3.3.x library build
« Reply #7 on: Yesterday at 05:58:30 am »
I rebuilt wx3.3.2 after removing CFG=64 from my make command.
Then tried rebuilding codeblocks from source, but it continued failing because wxmsw32u couldn't be found. Vazd, from wxWidgets, says that that dll is made but hasn't been in any wxWidgets releases since probably before wx3.0. The question is: Is it coming from the v23828 nightly, that I was using as a host?

Doesn't cmake only make a makefile generally? You must of had another step or two to make the wx3.3 library?  Does your library contain dll files?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7828
    • My Best Post
Re: wx3.3.x library build
« Reply #8 on: Yesterday at 07:53:58 am »
Look at the build log!
Then look at the name of the DLL and the path to the DLL.
See what is wrong.

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 stahta01

  • Lives here!
  • ****
  • Posts: 7828
    • My Best Post
Re: wx3.3.x library build
« Reply #9 on: Yesterday at 07:57:08 am »
I rebuilt wx3.3.2 after removing CFG=64 from my make command.
Then tried rebuilding codeblocks from source, but it continued failing because wxmsw32u couldn't be found. Vazd, from wxWidgets, says that that dll is made but hasn't been in any wxWidgets releases since probably before wx3.0. The question is: Is it coming from the v23828 nightly, that I was using as a host?

Doesn't cmake only make a makefile generally? You must of had another step or two to make the wx3.3 library?  Does your library contain dll files?

Why are you building the wx3.3 and thinking it will create an wx3.2 DLL?

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 stahta01

  • Lives here!
  • ****
  • Posts: 7828
    • My Best Post
Re: wx3.3.x library build
« Reply #10 on: Yesterday at 07:58:57 am »
Look for wx33_64.cbp to use wxWidgets 3.3.
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