Jump to content

Programming Howto: Install Prerequisites on Non-Windows Platforms

From BCI2000 Wiki

Back

to the overview page

Homebrew

Homebrew is a package manager for macOS and Linux that we will be using to install several items. You may also use another package manager if you have one that you prefer. Install it using the terminal window with

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Follow the instructions in the terminal to finish the installation.

Now check to make sure that it was installed correctly with

brew --version

SVN

SVN is used to checkout the source code repository. Install it with

brew install Subversion

Now check to make sure that it was installed correctly with

svn --version

Qt6

Qt is used to render to BCI2000 windows. Qt version 6 is the only version that is supported on Non-Windows Platforms.

Unfortunately, the homebrew version of Qt6 is broken and cannot be used with BCI2000.

Rather than using homebrew, go to the Qt website and download the Qt installer for Open Source use from there: https://www.qt.io/download-qt-installer-oss

In the installer, choose a version of Qt6 to install.

NOTE: For building on macOS Tahoe or newer, Qt6 6.8.4 or newer is required. With older versions of Qt6, building will fail with linker errors.

CMake

CMake is used to customize BCI2000 builds. Install it with

brew install cmake

Now check to make sure that it was install correctly with

cmake --version

Next

Register with BCI2000