Jump to content

Programming Howto:Building and Customizing BCI2000: Difference between revisions

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


==Configure BCI2000 for compilation==
==Configure BCI2000 for compilation==
Double-click "Configure.sh.cmd" in your BCI2000 build directory
[[File:use_cmake_1.PNG|center]]
Tell CMake which Qt installation to use
[[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]]
Click "Configure"
[[File:use_cmake_4.PNG|center]]
Choose a generator that is consistent with the Qt directory chosen above
[[File:use_cmake_5.PNG|center]]
[[File:use_cmake_6.PNG|center]]
Choose build options...
[[File:use_cmake_7.PNG|center]]
... and which extensions to compile, before clicking "Generate"
[[File:use_cmake_8.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]]


==Compile BCI2000==
==Compile BCI2000==

Revision as of 14:19, 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

Compile BCI2000

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

Open the solution file your BCI2000 "build" folder

The solution file in the VisualStudio IDE

Switch the build type to "release"

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

Once the build is finished, ...

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