[FieldTrip] emotiv2ft OSX?
karl.doron at gmail.com
Wed Jun 4 03:28:36 CEST 2014
I’m wondering if anyone has been able to compile emotiv2ft on for OSX (64 bit) yet. From some other threads related to the subject, the issue seemed to be a conio.h file that was DOS only. However, this may have been corrected with newer versions of Xcode which have curses.h.
The error I’m getting seems to be with the GDF writer (pasted below)
-> llvm-g++ -c -I/Applications/MATLAB_R2012b.app/extern/include -I/Applications/MATLAB_R2012b.app/simulink/include -DMATLAB_MEX_FILE -fno-common -no-cpp-precomp -fexceptions -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/ -mmacosx-version-min=10.5 -DMX_COMPAT_32 -O2 -DNDEBUG "emotiv2ft.cc"
In file included from emotiv2ft.cc:7:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk//usr/include/OnlineDataManager.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk//usr/include/GDF_BackgroundWriter.h:1:
cannot initialize return object of type
'GDF_Type' with an rvalue of type 'int'
emotiv2ft.cc:114:3: error: use of undeclared
identifier 'Sleep'; did you mean 'sleep'?
'sleep' declared here
sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
2 errors generated.
mex: compile of ' "emotiv2ft.cc"' failed.
Karl Doron, PhD
University of California, San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip