Programming Howto:Install Prerequisites
Back
To this howto's overview page.
TortoiseSVN
Download the TortoiseSVN installer from tortoisesvn.net.
Run the installer:
Don't forget to install command line client tools:
This will allow you to later check the build number and run various commands.
Click "Finish" to dismiss the installer dialog:
CMake
Download the CMake installer from cmake.org/download. The latest release to date is 3.22.3, but most recent versions should work.
Run the installer:
Choose "Add to path for all users":
Follow the installation instructions. Click "Finish" to dismiss the installer dialog:
VisualStudio
Download the VisualStudio Community installer from visualstudio.com. BCI2000 compilation will work with VS2017, VS2019 or VS2022 but does not work with VS2015 or below.
*Note that BCI2000 is most frequently tested with VS2019.
Run the installer:
Make sure to install the C++ compiler:
Qt
Download the Qt open source installer from www.qt.io.
Use the "go open source" link to download a version of qt available for open source software:
Download the Qt online installer:
Run the installer:
If you do not already have an account, follow the steps to create one:
Agree to the open source obligations, and click "Next" to continue:
Click "Next" to start the installation:
Choose a directory, and click "Next" to continue:
Qt Versioning
Choose a Qt version that is consistent with the version of VisualStudio you downloaded earlier. Another consideration is the framework you wish to build BCI2000 with. For example, in this tutorial, we are compiling for the 2019 Visual Studio on a 64 bit system, make sure you select MSVC 2019 64-bit, which is demonstrated in the photo below. If you're using Visual Studio 2017 find the latest version of Qt that supports Visual Studio 2017 for whatever architecture you want to build BCI2000 on and install that version of Qt. Note that VisualStudio 2017 is binary compatible with VisualStudio 2015, so you may use the MSVC2015 32-bit package for a 32bit build using VisualStudio 2017.
Agree to the License Agreement, and click "Next" to continue:
Click "Next" when prompted for Start Menu shortcuts:
Click "Install" to download and install Qt files:
Progress will be indicated during installation.
Installation may take a long time.
Uncheck "Launch Qt Creator" before clicking "Finish":
Next step
As a next step, learn how to register with the BCI2000 Project.