Skip to content

Build and Installation Instructions with Meson

Meson is a modern and fast build system with a lot of features. You can find its documentation at

Install Dependencies

dnf install meson qt5-qtbase-devel rtaudio-devel "pkgconfig(jack)" help2man
apt install meson build-essential qtbase5-dev librtaudio-dev libjack-jackd2-dev help2man
brew install meson qt5 rt-audio help2man

You also need to install Jack, unless you want to disable jack support (-Djack=disabled). On macOS Jack is often installed using an installer from the Jack2 release page. You can also install it using homebrew (brew install jack), but you should not use both installation methods simultaneously.

Meson might not find qt when installed with brew. But brew tells you to set PKG_CONFIG_PATH to a directory where it finds qt's pkgconfig file. This directory has to be set as additional pkgconfig path in meson:

meson --buildtype release --pkg-config-path `brew --prefix qt5`/lib/pkgconfig build_release


If you are in a build directory, meson configure shows you all available options. Current project options are jack, nogui, rtaudio and wair. Meson shows you also the options of subprojects like RtAudio.


Meson builds in a separate directory. It doesn't touch anything of your project. This way you can have seperate debug and release build directories for example.

Prepare your build directory:

meson builddir                                  # defaults to debug build

## Additional build directories
meson --buildtype release build_release         # release build
meson --buildtype debugoptimized build_debug    # optimized debug build

Meson can download and build RtAudio as a subproject, if RtAudio is not available on your system. By default it only checks the dependency on your system. If you want to use the subproject you have to explicitly enable rtaudio.

cd builddir
meson configure -Drtaudio=enabled

If help2man is found, Meson will create a manpage from jacktrip --help.

Now build with:

cd builddir

Install with:

sudo ninja install