Compiling WxWidgets With MSYS-MinGW - WxWiki1
Compiling WxWidgets With MSYS-MinGW
1 Using the Makefiles that come with wxWidgets1.1 Setting up MinGW1.2 Compiling the wxWidgets Libraries2 Compiling wxWidgets with MSYS/MinGW2.1 Problems with MinGW 18.104.22.168 Problems with MinGW 3.22.3 Problems with MinGW 3.1
Using the Makefiles that come with wxWidgets
The following instructions are based on this forum post(http://wxforum.shadonet.com/viewtopic.php?t=11457) .
Setting up MinGW
Download the latest version of MinGW from its SourceForge page(http://sourceforge.net/project/showfiles.php?group_id=2435) .The following packages are required:gcc-coregcc-g++mingw-runtimebinutilsmingw32w32apiYou can download and unzip these manually, or use the automated installer.After installation your MinGW directory should contain the subdirectories: "bin", "doc", "include","info", "lib", "libexec", "man" and "mingw32".To use MinGW from the windows command shell, various environment variables must be set. Theeasiest method to do this is to create a batch script.Copy the following code into a text file and save it as "ConfigureMinGW.bat".If you installed MinGW to a location other than the default location "C:\MinGW" substitute thatfor "C:\MinGW". If your path has spaces in it, surround it with double quotes.Open a command shell with the "Command Prompt" shortcut from the "Accessories" menu and run