Programming Howto:Building and Customizing BCI2000: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
==Install prerequisites== | ==Install prerequisites== | ||
===TortoiseSVN=== | ===TortoiseSVN=== | ||
Download installer from [https://tortoisesvn.net tortoisesvn.net] | Download TortoiseSVN installer from [https://tortoisesvn.net tortoisesvn.net] | ||
Run installer | Run installer | ||
[[File:TortoiseSVN_2-1985.png|center]] | |||
Don't forget to install command line client tools | |||
[[File:TortoiseSVN_3-1990.png|center]] | |||
[[File:TortoiseSVN_4-2001.png|center]] | |||
[[File:TortoiseSVN_4-2001.png| | |||
===CMake=== | ===CMake=== | ||
Download installer from [https://cmake.org cmake.org] | Download CMake installer from [https://cmake.org cmake.org] | ||
Run installer | Run installer | ||
[[File:CMake_2-2013.png| | [[File:CMake_2-2013.png|center]] | ||
[[File:CMake_3-2019.png| | |||
[[File:CMake_4-2025.png| | Choose "Add to path for all users" | ||
[[File:CMake_3-2019.png|center]] | |||
[[File:CMake_4-2025.png|center]] | |||
===VisualStudio=== | ===VisualStudio=== | ||
| Line 23: | Line 33: | ||
Run installer | Run installer | ||
[[File:install_vs2017_community_1.png| | [[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]] | [[File:install_vs2017_community_2.png|600px|center]] | ||
===Qt=== | ===Qt=== | ||
| Line 34: | Line 44: | ||
Run installer | Run installer | ||
[[File:qt_installer_1.png| | [[File:qt_installer_1.png|center]] | ||
[[File:qt_installer_2.png| | |||
[[File:qt_installer_3.png| | Click "Skip" when prompted for a Qt account | ||
[[File:qt_installer_4.png| | |||
[[File:qt_installer_5.png| | [[File:qt_installer_2.png|center]] | ||
[[File:qt_installer_6.png| | |||
[[File:qt_installer_7.png| | |||
[[File:qt_installer_8.png| | [[File:qt_installer_3.png|center]] | ||
[[File:qt_installer_9.png| | |||
[[File:qt_installer_10.png| | |||
[[File:qt_installer_11.png| | [[File:qt_installer_4.png|center]] | ||
Choose a Qt version that is consistent with the version of VisualStudio you downloaded earlier | |||
[[File:qt_installer_5.png|center]] | |||
[[File:qt_installer_6.png|center]] | |||
[[File:qt_installer_7.png|center]] | |||
[[File:qt_installer_8.png|center]] | |||
[[File:qt_installer_9.png|center]] | |||
[[File:qt_installer_10.png|center]] | |||
Uncheck "Launch Qt Creator" before clicking "Finish" | |||
[[File:qt_installer_11.png|center]] | |||
==Register with BCI2000 Project== | ==Register with BCI2000 Project== | ||
[[File:BCI2000_registration_1-1886.png| | |||
[[File:BCI2000_registration_2-2199.png| | [[File:BCI2000_registration_1-1886.png|center]] | ||
[[File:BCI2000_registration_3-2218.png| | |||
[[File:BCI2000_registration_4-2228.png| | |||
[[File:BCI2000_registration_6-2238.png| | [[File:BCI2000_registration_2-2199.png|center]] | ||
[[File:BCI2000_registration_7-2245.png| | |||
[[File:BCI2000_registration_9-2257.png| | |||
[[File:BCI2000_registration_10-2264.png| | [[File:BCI2000_registration_3-2218.png|center]] | ||
[[File:BCI2000_registration_11-2270.png| | |||
[[File:BCI2000_registration_4-2228.png|center]] | |||
[[File:BCI2000_registration_6-2238.png|center]] | |||
[[File:BCI2000_registration_7-2245.png|center]] | |||
[[File:BCI2000_registration_9-2257.png|center]] | |||
[[File:BCI2000_registration_10-2264.png|center]] | |||
[[File:BCI2000_registration_11-2270.png|center]] | |||
==Download the BCI2000 source code== | |||
[[File:SVN_1-2294.png|center]] | |||
[[File:SVN_2-2305.png|center]] | |||
Enter user name and password as chosen in the registration step | |||
[[File:SVN_3-2315.png|center]] | |||
[[File:SVN_4-2326.png|center]] | |||
[[File:SVN_5-2333.png|center]] | |||
==Configure BCI2000 for compilation== | |||
[[File:use_cmake_1.PNG|center]] | |||
[[File:use_cmake_2.PNG|center]] | |||
[[File:use_cmake_3.PNG|center]] | |||
[[File:use_cmake_4.PNG|center]] | |||
[[File:use_cmake_5.PNG|center]] | |||
[[File:use_cmake_6.PNG|center]] | |||
[[File:use_cmake_7.PNG|center]] | |||
[[File:use_cmake_8.PNG|center]] | |||
[[File:use_cmake_9.PNG|center]] | |||
[[File:use_cmake_10.PNG|center]] | |||
==Compile BCI2000== | |||
[[File:use_vs2017_0.png|center]] | |||
[[File:use_cmake_10.PNG|center]] | |||
[[File:use_vs2017_1.png|center]] | |||
[[File:use_vs2017_2.png|center]] | |||
[[File:use_vs2017_3.png|center]] | |||
[[File:use_vs2017_4.png|center]] | |||
[[File:use_vs2017_5.png|center]] | |||
Revision as of 15:26, 9 August 2018
Install prerequisites
TortoiseSVN
Download TortoiseSVN installer from tortoisesvn.net
Run installer

Don't forget to install command line client tools


CMake
Download CMake installer from cmake.org
Run installer

Choose "Add to path for all users"


VisualStudio
Download VisualStudio Community installer from visualstudio.com
Run installer

Make sure to install the C++ compiler

Qt
Download the open source installer from www.qt.io
Run installer

Click "Skip" when prompted for a Qt account



Choose a Qt version that is consistent with the version of VisualStudio you downloaded earlier






Uncheck "Launch Qt Creator" before clicking "Finish"

Register with BCI2000 Project









Download the BCI2000 source code


Enter user name and password as chosen in the registration step



Configure BCI2000 for compilation
Compile BCI2000





