aboutsummaryrefslogtreecommitdiffstats
path: root/HOWTO
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-11-27 16:09:29 +0100
committerDan Gudmundsson <[email protected]>2017-11-27 16:09:29 +0100
commit7716381b10e23709b3c383e3fb5c8fcd579bf799 (patch)
treee6d3059e9a9ffce6a0d6f8ffb14286e56b4be190 /HOWTO
parent477f4a04e7d920982dd11d0fa6ee4fb7b7b5979f (diff)
parentd0b55d7d14ac0ce8b0e2ebe1f930c9ad0ebfc238 (diff)
downloadotp-7716381b10e23709b3c383e3fb5c8fcd579bf799.tar.gz
otp-7716381b10e23709b3c383e3fb5c8fcd579bf799.tar.bz2
otp-7716381b10e23709b3c383e3fb5c8fcd579bf799.zip
Merge branch 'dgud/erl_docgen/https2url' into maint
* dgud/erl_docgen/https2url: Update HOWTO with wxWidgets build examples https should be mapped to url and not seealso
Diffstat (limited to 'HOWTO')
-rw-r--r--HOWTO/INSTALL.md20
1 files changed, 17 insertions, 3 deletions
diff --git a/HOWTO/INSTALL.md b/HOWTO/INSTALL.md
index 987a714936..53f2dd26e2 100644
--- a/HOWTO/INSTALL.md
+++ b/HOWTO/INSTALL.md
@@ -517,12 +517,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 <http://sourceforge.net/projects/wxwindows/files/3.0.0/>) or get it from github with bug fixes:
+(`wxWidgets-3.0.3.tar.bz2` from <https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.3/wxWidgets-3.0.3.tar.bz2>) or get it from github with bug fixes:
$ git clone --branch WX_3_0_BRANCH [email protected]: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):