'BCI2000Remote' : undeclared identifier

hi
I am new to c++. I added a header to my program and I instantiated an abject from the an class which defined in the header file but when I compile my program, it could not build and show these error
1>.\massage.cpp(21) : error C2065: 'BCI2000Remote' : undeclared identifier
1>.\massage.cpp(21) : error C2146: syntax error : missing ';' before identifier 'bci'
1>.\massage.cpp(21) : error C2065: 'bci' : undeclared identifier

1
2
3
4
5
6
7
#include "BCI2000Remote.h"
int main( int argc, char* argv[] )
{
  // Instantiate a BCI2000Remote object
  BCI2000Remote bci;
  // Assume that Operator executable resides in the same directory as this program.
  bci.OperatorPath( path + "Operator" );
The error is pretty straightforward. The compiler doesn't know what BCI2000Remote is.

Are you sure your header is defining it? Can you post the header here?
Topic archived. No new replies allowed.