From d0b55d7d14ac0ce8b0e2ebe1f930c9ad0ebfc238 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Wed, 22 Nov 2017 13:18:02 +0100 Subject: Update HOWTO with wxWidgets build examples It lacked build examples for linux, also suggest using wxWidgets-3.0.3 also add information about wxWidgets-3.1 --- HOWTO/INSTALL.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'HOWTO') diff --git a/HOWTO/INSTALL.md b/HOWTO/INSTALL.md index 36365799e3..1262bb0373 100644 --- a/HOWTO/INSTALL.md +++ b/HOWTO/INSTALL.md @@ -520,12 +520,26 @@ If you have Xcode 4.3, or later, you will also need to download #### Building with wxErlang #### If you want to build the `wx` application, you will need to get wxWidgets-3.0 -(`wxWidgets-3.0.0.tar.bz2` from ) or get it from github with bug fixes: +(`wxWidgets-3.0.3.tar.bz2` from ) or get it from github with bug fixes: $ git clone --branch WX_3_0_BRANCH git@github.com:wxWidgets/wxWidgets.git -Be aware that the wxWidgets-3.0 is a new release of wxWidgets, it is not as -mature as the old releases and the OS X port still lags behind the other ports. +The wxWidgets-3.1 version should also work if 2.8 compatibility is enabled, +add `--enable-compat28` to configure commands below. + +Configure and build wxWidgets (shared library on linux): + + $ ./configure --prefix=/usr/local + $ make && sudo make install + $ export PATH=/usr/local/bin:$PATH + +Configure and build wxWidgets (static library on linux): + + $ export CFLAGS=-fPIC + $ export CXXFLAGS=-fPIC + $ ./configure --prefix=/usr/local --disable-shared + $ make && sudo make install + $ export PATH=/usr/local/bin:$PATH Configure and build wxWidgets (on Mavericks - 10.9): -- cgit v1.2.3