Add SourceFilter to NeuroSky module

This forum deals with BCI2000 configuration issues.
Locked
dcscion
Posts: 1
Joined: 20 Mar 2012, 06:13

Add SourceFilter to NeuroSky module

Post by dcscion » 22 Mar 2012, 05:55

Hey all,

i am trying to compile the SourceFilter module from the emotiv signal source module into the NeuroSky module. My environment is WinXP SP3 along with Microsoft Visual Studio Express 2008. I successfully compiled the whole BCI2000 project at first.

In order to compile the SourceFilter, I added the particular headers and cpp files from the emotiv module. In the cmake file I added the following two lines, as seen in the emotiv cmake file, but edited the path:

Code: Select all

 25 INCLUDE_DIRECTORIES( ${BCI2000_SRC_DIR}/contrib/SignalSource/Neurosky/lib/include )
 26 
 27 BCI2000_INCLUDE( "SOURCEFILTER" )
Is my approach correct or do I need a different one? I heard that it was simple to add a SourceFilter to a particular module in a Borland environment.

Best, Dirk

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Add SourceFilter to NeuroSky module

Post by mellinger » 22 Mar 2012, 08:12

Hi,

your approach is correct, and should work. However, you don't need the INCLUDE_DIRECTORIES statement in line 25. In the Emotiv source module, that line makes sure that the Emotiv library header is found. For the Neurosky module, no such statement is required.

Best regards,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 0 guests