Sunday, August 09, 2015

How to Custom Build wxWidgets 3.0.2 with Linux GNU/GCC


Here you may follow the steps I used to configure and build wxWidgets-3.0.2 in Linux with Gnu/GCC:

$ mkdir -p /opt/wxWidgets
$ cd /opt/wxWidgets
$ wget http://ftp.wxwidgets.org/pub/3.0.2/wxWidgets-3.0.2.tar.bz2
$ tar -xapvf wxWidgets-3.0.2.tar.bz2
$ mkdir -p wxWidgets-3.0.2/build2
$ cd wxWidgets-3.0.2/build2
To build wxWidgets STATIC library for DEBUG version:
$ mkdir wx3.02ud_static
$ cd wx3.02ud_static
$ ../../configure –disable-shared –enable-debug
$ make
$ cd ..

The library result is located at:
/opt/wxWidgets/wxWidgets-3.0.2/build2/wx3.02ud_static/lib
To build wxWidgets STATIC library for RELEASE version:
$ mkdir wx3.02ud_static
$ cd wx3.02ud_static
$ ../../configure –disable-shared
$ make
$ cd ..

The library result is located at:
/opt/wxWidgets/wxWidgets-3.0.2/build2/wx3.02u_static/lib 
 

0 comments: