Jump to content

Programming Howto:Install Prerequisites: Difference between revisions

From BCI2000 Wiki
Mellinger (talk | contribs)
Mellinger (talk | contribs)
 
Line 19: Line 19:


==CMake==
==CMake==
Download the CMake installer from [https://cmake.org cmake.org/download]. '''Do not download the latest release!''' CMake versions after 4.0 currently do not work. Download version 3.31.6 or earlier.  
Download the CMake installer from [https://cmake.org cmake.org/download].


Run the installer:
Run the installer:

Latest revision as of 10:38, 21 May 2026

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.

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 VS2019, VS2022, and VS2026 but does not work with VS2017 or below.
*Note that BCI2000 is most frequently tested with VS2022.

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 2022 or 2026, find the latest version of Qt that supports Visual Studio 2022 or 2026 for whatever architecture you want to build BCI2000 on and install that version of Qt. Note that VisualStudio 2022 and 2026 are binary compatible with VisualStudio 2019.

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