Programming Howto:Building and Customizing BCI2000

From BCI2000 Wiki
Jump to navigation Jump to search

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