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

Steps

  1. Install wxWidgets v2.8.0.
    Just install this with the default settings.
  2. Install MinGW 5.1.3 gcc 3.4.5.
    Choose candidate and be sure to select g++ and MinGW-make because it is normally unchecked during the install. For this tutorial I am going to assume you are installing it to C:\MinGW.
  3. Install MSYS v1.0.11.
    Just install this with the default settings.
  4. Launch MSYS and change directory to your wxWidgets directory.
  5. Type mkdir build-release
  6. Type cd build-release
  7. Type ../configure --with-msw --enable-monolithic
  8. Type make

That's all folks !