Jump to content

Programming Howto:Automatically Build BCI2000 on Non-Windows Platforms

From BCI2000 Wiki

Back

to the overview page

Navigate to BCI2000 Directory

Navigate to the BCI2000 "trunk" directory in a finder window.

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.


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


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

Launch BCI2000

To launch BCI2000, navigate to the prog directory in the terminal

cd trunk/prog

and drag and drop one of the batch files from the batch folder to the terminal. You can start BCI2000 by pressing "set config" and then "start." Enjoy!