Compiling wxWidgets with MinGW

From WxWiki

Jump to: navigation, search
This article applies to the following versions
Platform wxWidgets MinGW
Windows XP 2.8.8 5.1.4
Status: Up to Date
Related Articles
Using Makefiles to compile wxWidgets

Contents

[edit] Install MinGW

Please follow the steps described in Installing MinGW under Windows.

[edit] Download and Install wxWidgets

See Downloading and installing wxWidgets.

[edit] Build the library

Open the command prompt (Start > Run... > cmd). Change the directory to the build\msw folder. For example:

CD wx\wx288\build\msw

Clean up the source:

mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean

Then, compile the library:

mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
Note: For more information on the UNICODE and BUILD options, see WxWidgets Build Configurations.


[edit] See Also

Understanding wxWidgets Build Scheme
Precompiled Headers in MinGW

[edit] External Links

Code::Block's WxWindowsQuickRef
Compiling wxWidgets 2.8.6 to develop Code::Blocks (MSW)

Personal tools