Difference between revisions of "Programming Howto:Building and Customizing BCI2000"

From BCI2000 Wiki
Jump to: navigation, search
(Register with BCI2000 Project)
(Download the BCI2000 source code)
Line 6: Line 6:
  
 
==Download the BCI2000 source code==
 
==Download the BCI2000 source code==
[[File:SVN_1-2294.png|center]]
+
[[Programming Howto:Download the BCI2000 Sourcecode]]
 
 
Choose a checkout directory
 
 
 
[[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==
 
==Configure BCI2000 for compilation==

Revision as of 14:17, 14 August 2018

Install prerequisites

Programming Howto:Install Prerequisites

Register with BCI2000 Project

Programming Howto:Register with BCI2000 Project

Download the BCI2000 source code

Programming Howto:Download the BCI2000 Sourcecode

Configure BCI2000 for compilation

Double-click "Configure.sh.cmd" in your BCI2000 build directory

Use cmake 1.PNG

Tell CMake which Qt installation to use

Use cmake 2.PNG

Enter the path to a Qt directory that is consistent with the compiler you are going to use

Use cmake 3.PNG

Click "Configure"

Use cmake 4.PNG

Choose a generator that is consistent with the Qt directory chosen above

Use cmake 5.PNG


Use cmake 6.PNG

Choose build options...

Use cmake 7.PNG

... and which extensions to compile, before clicking "Generate"

Use cmake 8.PNG


Use cmake 9.PNG

Amongst other files created by CMake, your BCI2000 build directory will now contain a solution file

Use cmake 10.PNG

Compile BCI2000

Your BCI2000 "prog" folder does not contain any executables yet

Use vs2017 0.png

Open the solution file your BCI2000 "build" folder

Use cmake 10.PNG

The solution file in the VisualStudio IDE

Use vs2017 1.png

Switch the build type to "release"

Use vs2017 2.png

From the "build" menu, choose "Build solution"

Use vs2017 3.png

Once the build is finished, ...

Use vs2017 4.png

... your BCI2000 "prog" folder will contain a number of executables, one for each module

Use vs2017 5.png