Programming Howto:Automatically Build BCI2000 on Non-Windows Platforms

From BCI2000 Wiki
Jump to navigation Jump to search

Back

to the overview page

Navigate to BCI2000 Directory

Navigate to the BCI2000 "trunk" directory in a finder window.
Trunk-directory-non-windows.png

Run Install Script

Double click on the script named "install." It will begin the installation process in a new terminal window. First, it will prompt you for your Qt installation directory. If you installed Qt with homebrew this will be /opt/homebrew/Cellar/qt@5/5.15.5_1/ on apple silicon or /usr/homebrew/Cellar/qt@5/5.15.5_1/ otherwise. If neither of these locations exist and you installed Qt with homebrew, this can be found by running

brew list qt@5

in a terminal window. The installation directory is only the part of the paths that are

.../hombrew/Cellar/qt@5/<version>

Use everything up to the version and nothing past it. Drag this folder onto the window and press Enter. After you press Enter, the installation will continue without any additional user input. Automatic-compile-non-windows.png


Once this script finishes running, your BCI2000 will be built!

Screen Shot 2022-08-12 at 3.55.18 PM.png


And the "prog" directory in your BCI2000 trunk will have been populated with executables.

Prog-folder-non-windows.png