Programming Howto:Install Prerequisites: Difference between revisions

From BCI2000 Wiki
Jump to navigation Jump to search
No edit summary
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Programming Howto:Building and Customizing BCI2000|This howto's overview page]]
==Back==
To [[Programming Howto:Building and Customizing BCI2000|this howto's overview page]].


==TortoiseSVN==
==TortoiseSVN==
Download TortoiseSVN installer from [https://tortoisesvn.net tortoisesvn.net]
Download the TortoiseSVN installer from [https://tortoisesvn.net tortoisesvn.net].


Run installer
Run the installer:


[[File:TortoiseSVN_2-1985.png|center]]
[[File:TortoiseSVN_2-1985.png|center]]


Don't forget to install command line client tools
Don't forget to install command line client tools:


[[File:TortoiseSVN_3-1990.png|center]]
[[File:TortoiseSVN_3-1990.png|center]]
This will allow you to later check the build number and run various commands.


Click "Finish" to dismiss the installer dialog:


[[File:TortoiseSVN_4-2001.png|center]]
[[File:TortoiseSVN_4-2001.png|center]]


==CMake==
==CMake==
Download CMake installer from [https://cmake.org cmake.org]
Download the CMake installer from [https://cmake.org cmake.org/download]. The latest release to date is 3.22.3, but most recent versions should work.


Run installer
Run the installer:


[[File:CMake_2-2013.png|center]]
[[File:CMake_2-2013.png|center]]


Choose "Add to path for all users"
Choose "Add to path for all users":


[[File:CMake_3-2019.png|center]]
[[File:CMake_3-2019.png|center]]


Follow the installation instructions. Click "Finish" to dismiss the installer dialog:


[[File:CMake_4-2025.png|center]]
[[File:CMake_4-2025.png|center]]


==VisualStudio==
==VisualStudio==
Download VisualStudio Community installer from [https://visualstudio.com/downloads/ visualstudio.com]
Download the VisualStudio Community installer from [https://visualstudio.com/downloads/ visualstudio.com]. BCI2000 compilation will work with VS2017, VS2019 or VS2022 but does not work with VS2015 or below. <br /><i>*Note that BCI2000 is most frequently tested with VS2019. </i>


Run installer
Run the installer:


[[File:install_vs2017_community_1.png|center]]
[[File:install_vs2017_community_1.png|center]]


Make sure to install the C++ compiler
Make sure to install the C++ compiler:


[[File:install_vs2017_community_2.png|600px|center]]
[[File:install_vs2017_community_2.png|600px|center]]


==Qt==
==Qt==
Download the open source installer from [https://www.qt.io/download www.qt.io]
Download the Qt open source installer from [https://www.qt.io/download www.qt.io].


Run installer
Use the "go open source" link to download a version of qt available for open source software:


[[File:qt_installer_1.png|center]]
[[File:Qt installer 1-2.PNG|center]]


Click "Skip" when prompted for a Qt account
Download the Qt online installer:


[[File:qt_installer_2.png|center]]
[[File:Qt installer 2-2.PNG|center]]


Run the installer:
[[File:Qt_installer_1.png|center]]
If you do not already have an account, follow the steps to create one:
[[File:qt installer account.PNG|center]]
Agree to the open source obligations, and click "Next" to continue:
[[File:qt installer open source obligations.PNG|center]]
Click "Next" to start the installation:


[[File:qt_installer_3.png|center]]
[[File:qt_installer_3.png|center]]


Choose a directory, and click "Next" to continue:


[[File:qt_installer_4.png|center]]
[[File:qt_installer_4.png|center]]
====Qt Versioning====


Choose a Qt version that is consistent with the version of VisualStudio you downloaded earlier
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.


[[File:qt_installer_5.png|center]]
[[File:qt_installer_5.png|center]]


Agree to the License Agreement, and click "Next" to continue:


[[File:qt_installer_6.png|center]]
[[File:qt_installer_6.png|center]]


Click "Next" when prompted for Start Menu shortcuts:


[[File:qt_installer_7.png|center]]
[[File:qt_installer_7.png|center]]


Click "Install" to download and install Qt files:


[[File:qt_installer_8.png|center]]
[[File:qt_installer_8.png|center]]


Progress will be indicated during installation.


[[File:qt_installer_9.png|center]]
[[File:qt_installer_9.png|center]]


Installation may take a long time
Installation may take a long time.


[[File:qt_installer_10.png|center]]
[[File:qt_installer_10.png|center]]


Uncheck "Launch Qt Creator" before clicking "Finish"
Uncheck "Launch Qt Creator" before clicking "Finish":


[[File:qt_installer_11.png|center]]
[[File:qt_installer_11.png|center]]

Latest revision as of 16:29, 11 April 2022

Back

To this howto's overview page.

TortoiseSVN

Download the TortoiseSVN installer from tortoisesvn.net.

Run the installer:

TortoiseSVN 2-1985.png

Don't forget to install command line client tools:

TortoiseSVN 3-1990.png

This will allow you to later check the build number and run various commands.

Click "Finish" to dismiss the installer dialog:

TortoiseSVN 4-2001.png

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:

CMake 2-2013.png

Choose "Add to path for all users":

CMake 3-2019.png

Follow the installation instructions. Click "Finish" to dismiss the installer dialog:

CMake 4-2025.png

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:

Install vs2017 community 1.png

Make sure to install the C++ compiler:

Install vs2017 community 2.png

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:

Qt installer 1-2.PNG

Download the Qt online installer:

Qt installer 2-2.PNG

Run the installer:

Qt installer 1.png

If you do not already have an account, follow the steps to create one:

Qt installer account.PNG

Agree to the open source obligations, and click "Next" to continue:

Qt installer open source obligations.PNG

Click "Next" to start the installation:

Qt installer 3.png

Choose a directory, and click "Next" to continue:

Qt installer 4.png

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.

Qt installer 5.png

Agree to the License Agreement, and click "Next" to continue:

Qt installer 6.png

Click "Next" when prompted for Start Menu shortcuts:

Qt installer 7.png

Click "Install" to download and install Qt files:

Qt installer 8.png

Progress will be indicated during installation.

Qt installer 9.png

Installation may take a long time.

Qt installer 10.png

Uncheck "Launch Qt Creator" before clicking "Finish":

Qt installer 11.png

Next step

As a next step, learn how to register with the BCI2000 Project.

See also

Programming Howto:Building and Customizing BCI2000