I want to setup wxWidgets 3.2.1 in Code::Blocks 20.03, but with no success.
Here are the steps I took so far:
- Installed GCC 12.2.0 MinGW-W64
- Installed Code::Blocks 20.03 mingw setup
- Installed wxWidgets 3.2.1 using the Windows Installer
- Created a wxWidgets project in Code::Blocks:
File>New>Project>wxWidgets Project - Selected
wxWidgets 3.1.x(since there is no entry forwxWidgets 3.2.x) - Selected project and author information, "Preferred GUI Builder" and "Application Type"
- In the wxWidgets' location I enterd
C:\wxWidgets-3.2.1(where it's currently installed) - Checked both
Create "Debug" configurationandCreate "Release" configuration - Checked all the checkboxes in "wxWidgets Library Settings":
Use wxWidgets DLLwxWidgets is built as a monolithic libraryEnable unicode
When I proceed, I get the following two warnings:
A matching Debug configuration cannot be found in the wxWidgets directory you specified.
This means that Debug targets of your project will not be built.Are you sure you want to continue with these settings?
A matching Release configuration cannot be found in the wxWidgets directory you specified.
This means that Release targets of your project will not be built.Are you sure you want to continue with these settings?
If I continue and try to compile my project, I get 3 of the following error:
C:\wxWidgets-3.2.1\include\wx\platform.h 159 fatal error: wx/setup.h: No such file or directory
I headed to C:\wxWidgets-3.2.1\include\wx and found that setup.h is missing: it's actually located in C:\wxWidgets-3.2.1\include\wx\msw (one folder deeper).
Any ideas on how to correctly setup wxWidgets to work with Code::Blocks?