Jump to content

Programming Howto:Building and Customizing BCI2000: Difference between revisions

From BCI2000 Wiki
Mellinger (talk | contribs)
No edit summary
Swiftj (talk | contribs)
 
(3 intermediate revisions by 3 users not shown)
Line 19: Line 19:
:explains how to attach the VisualStudio debugger to a running module.
:explains how to attach the VisualStudio debugger to a running module.
*[[Programming Howto:Programmatically wait for the Debugger in a BCI2000 Module|Programmatically wait for the Debugger in a BCI2000 Module]]
*[[Programming Howto:Programmatically wait for the Debugger in a BCI2000 Module|Programmatically wait for the Debugger in a BCI2000 Module]]
:explains how to halt execution of a BCI2000 module, and wait for the user to attach a debugger
:explains how to halt execution of a BCI2000 module, and wait for the user to attach a debugger.
*[[Programming Howto:Deploy a Release version of a BCI2000 Module|Deploy a Release version of a BCI2000 Module]]
*[[Programming Howto:Deploy a Release version of a BCI2000 Module|Deploy a Release version of a BCI2000 Module]]
:demonstrates how to build a self-contained version of your new module.
:demonstrates how to build a self-contained version of your new module.


[[Category:Howto]]
==Video Overview==
Note that this video is quite out of date - please install the currently released versions of TortoiseSVN, CMake, Qt, and Visual Studio instead of those recommended in the video.
 
<youtube alignment="center">https://youtu.be/3Jz527f2n5o</youtube>
 
[[Category:Howto]][[Category:Video]]

Latest revision as of 17:46, 5 February 2025

This tutorial walks you through the process of obtaining the BCI2000 source distribution, and using it to build and test your own custom filters, implemented in C++ inside your own custom core module. It assumes that you have a good working knowledge of the C++ language, and basic familiarity with the compiler/IDE that you are going to use.

This tutorial is a simplified version of the previous Programming Howto:Quickstart Guide, which is slightly outdated but kept in the wiki as it contains valuable suggestions and exercises.

Howto steps

shows you how to install TortoiseSVN, CMake, VisualStudio, and Qt.
explains how to obtain a BCI2000 user account.
details the steps how to use TortoiseSVN to download the BCI2000 sourcecode.
demonstrates how to use CMake to create a BCI2000 solution file.
illustrates how to compile BCI2000 using VisualStudio.
shows how to create a new BCI2000 module from a template.
explains how to attach the VisualStudio debugger to a running module.
explains how to halt execution of a BCI2000 module, and wait for the user to attach a debugger.
demonstrates how to build a self-contained version of your new module.

Video Overview

Note that this video is quite out of date - please install the currently released versions of TortoiseSVN, CMake, Qt, and Visual Studio instead of those recommended in the video.