Building wxMSW
Purpose
This is a tutorial that takes you through building wxWidgets with MinGW on Windows. It will create the wxWidgets library as a monolithic (one large library) release library.
There are more configurations so please contribute to this article with more build types.
Prerequisites
- Get wxWidgets v2.8.0 installer.
- Get MinGW 5.1.3 gcc 3.4.5 (candidate) installer.
- Get MSYS v1.0.11 build environment.
Steps
- Install wxWidgets v2.8.0.
Just install this with the default settings. - Install MinGW 5.1.3 gcc 3.4.5.
Choosecandidateand be sure to selectg++andMinGW-makebecause it is normally unchecked during the install. For this tutorial I am going to assume you are installing it toC:\MinGW. - Install MSYS v1.0.11.
Just install this with the default settings. - Launch MSYS and change directory to your wxWidgets directory.
- Type
mkdir build-release - Type
cd build-release - Type
../configure --with-msw --enable-monolithic - Type
make
That's all folks !