Skip to content

Latest commit

 

History

History
86 lines (63 loc) · 2.7 KB

README.md

File metadata and controls

86 lines (63 loc) · 2.7 KB

wxFormBuilder Build status 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