Sunday, August 09, 2015

How to Build wxWidgets on Windows with MSys/MinGW


This tutorial will guide you step by step to build wxWidgets-3.0.2 on Windows using MSys/MinGW.
Download and do Install Msys 1.0.11 from http://www.mingw.org/wiki/msys
image27
image
Download and Instal TDM-GCC
image
image
image

Edit C:\msys\1.0\etc using your favorite editor:
image

Open MSys Command Prompt
image

image

$ cd /opt/wxWidgets
$ wget http://nchc.dl.sourceforge.net/project/wxwindows/3.0.2/wxWidgets-3.0.2.tar.bz2
$ bunzip2 wxWidgets-3.0.2.tar.bz2
$ tar -xvf wxWidgets-3.0.2.tar
$ cd wxWidgets-3.0.2
$ ./configure --enable-debug --disable-shared --with-msw
$ make

The library result can be fond here:
C:\opt\wxWidgets\wxWidgets-3.0.2\lib\gcc_lib

0 comments: