Jump to content

Programming Howto:Install Prerequisites

From BCI2000 Wiki
Revision as of 18:59, 11 May 2021 by Swiftj (talk | contribs) (CMake)

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:

Click "Finish" to dismiss the installer dialog:

CMake

Download the CMake installer from cmake.org/download. The latest release to date is 3.20.2, but most recent versions should work.

Run the installer:

Choose "Add to path for all users":

Click "Finish" to dismiss the installer dialog:

VisualStudio

Download the VisualStudio Community installer from visualstudio.com.

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. BCI2000 does not currently support Qt 6.0.0 and above.

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.

See also

Programming Howto:Building and Customizing BCI2000