Page 1 of 1

Add SourceFilter to NeuroSky module

Posted: 22 Mar 2012, 05:55
by dcscion
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

Re: Add SourceFilter to NeuroSky module

Posted: 22 Mar 2012, 08:12
by mellinger
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