Building and installing bali-phy

Prequisites

You will need a C++ compiler that understands C++17.

You will also need to install

To build the executables, you will need

To build the documentation, you will need

Mac

On Macs you can install all the prerequisites using homebrew as follows:

sudo brew install meson pkg-config pandoc cairo

Linux

On Debian and Ubuntu systems you can install all the prequisites with the following command:

sudo apt-get install g++ meson pandoc libcairo2-dev

Compilation

cd BAli-Phy/
meson build --prefix=$HOME/Applications/bali-phy
cd build
ninja install