C++ C Lua HTML Makefile Shell Other
Switch branches/tags
Nothing to show
Latest commit 4893ccc Sep 20, 2017 @jhasse jhasse committed on GitHub Merge pull request #310 from muellermartin/macos-build-instructions
Add build instructions for macOS

README.md

wxFormBuilder Build status

Download Binaries

Install From Source

Windows (MSYS2)

Install MSYS2 and run the following inside a MinGW 32 bit shell:

pacman -S --needed mingw-w64-i686-wxWidgets git make mingw-w64-i686-binutils mingw-w64-i686-gcc mingw-w64-i686-boost
git clone --recursive --depth=1 https://github.com/wxFormBuilder/wxFormBuilder
cd wxFormBuilder
cmd.exe /C "create_build_files4.bat --wx-root=/mingw32/bin --force-wx-config --disable-mediactrl"
ln -s /mingw32/include/binutils/bfd.h /mingw32/include/bfd.h
ln -s /mingw32/include/binutils/symcat.h /mingw32/include/symcat.h
ln -s /mingw32/lib/binutils/libbfd.a /mingw32/lib/libbfd.a
ln -s /mingw32/lib/binutils/libiberty.a /mingw32/lib/libiberty.a
cd build/3.0/gmake
sed 's!\$(LDFLAGS) \$(RESOURCES) \$(ARCH) \$(LIBS)!\$(LIBS) \$(LDFLAGS) \$(RESOURCES) \$(ARCH)!g' *.make -i
sed 's!-lbfd!-lbfd -lz!g' *.make -i
make config=release

Run:

cd ../../../output/
./wxFormBuilder.exe

Linux

Pre-requisites for Ubuntu:

sudo apt-get install libwxgtk3.0-dev libwxgtk-media3.0-dev libboost-dev

Download and build:

git clone --recursive --depth=1 https://github.com/wxFormBuilder/wxFormBuilder
cd wxFormBuilder
./create_build_files4.sh
cd build/3.0/gmake
make config=release

Run:

cd ../../../output/bin/
./wxformbuilder

macOS

Pre-requisites for macOS can be installed via Homebrew:

brew install wxmac boost dylibbundler

Note: Building with Xcode currently does not work without issues (see issue #247). Therefore it is recommended to build with GNU make like for Linux as described below.

Download and build like for Linux (except that currently MediaCtrl needs to be disabled, because wxMac installed via Homebrew does not support it - see issue #283):

git clone --recursive --depth=1 https://github.com/wxFormBuilder/wxFormBuilder
cd wxFormBuilder
./create_build_files4.sh --disable-mediactrl
cd build/3.0/gmake
make config=release

Run:

cd ../../../output/
open wxFormBuilder.app