Programming Howto:Building and Customizing BCI2000: Difference between revisions
No edit summary |
No edit summary |
||
| Line 72: | Line 72: | ||
[[File:qt_installer_9.png|center]] | [[File:qt_installer_9.png|center]] | ||
Installation may take a long time | |||
[[File:qt_installer_10.png|center]] | [[File:qt_installer_10.png|center]] | ||
| Line 80: | Line 81: | ||
==Register with BCI2000 Project== | ==Register with BCI2000 Project== | ||
Go to the main BCI2000 wiki page, and click "Create a User Account" | |||
[[File:BCI2000_registration_1-1886.png|center]] | [[File:BCI2000_registration_1-1886.png|center]] | ||
Enter your desired user name, and a valid email address | |||
[[File:BCI2000_registration_2-2199.png|center]] | [[File:BCI2000_registration_2-2199.png|center]] | ||
An activation email will be sent to your email address | |||
[[File:BCI2000_registration_3-2218.png|center]] | [[File:BCI2000_registration_3-2218.png|center]] | ||
Click the link in the activation email | |||
[[File:BCI2000_registration_4-2228.png|center]] | [[File:BCI2000_registration_4-2228.png|center]] | ||
Enter user information and desired password, then click "Proceed with license agreement" | |||
[[File:BCI2000_registration_6-2238.png|center]] | [[File:BCI2000_registration_6-2238.png|center]] | ||
Scroll down to view the GPL, and check "I agree to the GPL" before continuing | |||
[[File:BCI2000_registration_7-2245.png|center]] | [[File:BCI2000_registration_7-2245.png|center]] | ||
Enter some information about your scientific affiliation, if applicable | |||
[[File:BCI2000_registration_9-2257.png|center]] | [[File:BCI2000_registration_9-2257.png|center]] | ||
| Line 110: | Line 118: | ||
[[File:SVN_1-2294.png|center]] | [[File:SVN_1-2294.png|center]] | ||
Choose a checkout directory | |||
[[File:SVN_2-2305.png|center]] | [[File:SVN_2-2305.png|center]] | ||
| Line 124: | Line 133: | ||
==Configure BCI2000 for compilation== | ==Configure BCI2000 for compilation== | ||
Double-click "Configure.sh.cmd" in your BCI2000 build directory | |||
[[File:use_cmake_1.PNG|center]] | [[File:use_cmake_1.PNG|center]] | ||
Tell CMake which Qt installation to use | |||
[[File:use_cmake_2.PNG|center]] | [[File:use_cmake_2.PNG|center]] | ||
Enter the path to a Qt directory that is consistent with the compiler you are going to use | |||
[[File:use_cmake_3.PNG|center]] | [[File:use_cmake_3.PNG|center]] | ||
| Line 138: | Line 152: | ||
[[File:use_cmake_5.PNG|center]] | [[File:use_cmake_5.PNG|center]] | ||
Choose a generator that is consistent with the Qt directory chosen above | |||
[[File:use_cmake_6.PNG|center]] | [[File:use_cmake_6.PNG|center]] | ||
| Line 144: | Line 159: | ||
[[File:use_cmake_7.PNG|center]] | [[File:use_cmake_7.PNG|center]] | ||
Choose build options... | |||
[[File:use_cmake_8.PNG|center]] | [[File:use_cmake_8.PNG|center]] | ||
... and which extensions to compile | |||
[[File:use_cmake_9.PNG|center]] | [[File:use_cmake_9.PNG|center]] | ||
Amongst other files created by CMake, your BCI2000 build directory will now contain a solution file | |||
[[File:use_cmake_10.PNG|center]] | [[File:use_cmake_10.PNG|center]] | ||
Revision as of 15:42, 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





Installation may take a long time

Uncheck "Launch Qt Creator" before clicking "Finish"

Register with BCI2000 Project
Go to the main BCI2000 wiki page, and click "Create a User Account"

Enter your desired user name, and a valid email address

An activation email will be sent to your email address

Click the link in the activation email

Enter user information and desired password, then click "Proceed with license agreement"

Scroll down to view the GPL, and check "I agree to the GPL" before continuing

Enter some information about your scientific affiliation, if applicable



Download the BCI2000 source code

Choose a checkout directory

Enter user name and password as chosen in the registration step



Configure BCI2000 for compilation
Double-click "Configure.sh.cmd" in your BCI2000 build directory
Tell CMake which Qt installation to use
Enter the path to a Qt directory that is consistent with the compiler you are going to use
Choose a generator that is consistent with the Qt directory chosen above
Choose build options...
... and which extensions to compile
Amongst other files created by CMake, your BCI2000 build directory will now contain a solution file
Compile BCI2000





