Permalink
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (60 sloc) 2.47 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/diagnostics.h /mingw32/include/diagnostics.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 install libwxgtk3.0-dev libwxgtk-media3.0-dev meson

Pre-requisites for Arch Linux:

sudo pacman -Syu --needed meson wxgtk2

Build and run:

meson _build --prefix $PWD/_install
ninja -C _build install
./_install/bin/wxformbuilder

macOS

Pre-requisites for macOS can be installed via Homebrew:

brew install wxmac boost dylibbundler make

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

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/
open wxFormBuilder.app