<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>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.</div><div><br></div><div>The error I’m getting seems to be with the GDF writer (pasted below)</div><div><br></div><div>Thanks,</div><div>karl doron</div><div><br></div><div><br></div><div><br></div><div><div>-> 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  "<a href="http://emotiv2ft.cc">emotiv2ft.cc</a>"</div><div><br></div><div>In file included from <a href="http://emotiv2ft.cc">emotiv2ft.cc</a>:7:</div><div>In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk//usr/include/OnlineDataManager.h:5:</div><div>In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk//usr/include/GDF_BackgroundWriter.h:1:</div><div>/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk//usr/include/GdfWriter.h:103:10: error: </div><div>      cannot initialize return object of type</div><div>      'GDF_Type' with an rvalue of type 'int'</div><div>                return 0; </div><div>                       ^</div><div><a href="http://emotiv2ft.cc">emotiv2ft.cc</a>:114:3: error: use of undeclared</div><div>      identifier 'Sleep'; did you mean 'sleep'?</div><div>                Sleep(10);</div><div>                ^~~~~</div><div>                sleep</div><div>/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk//usr/include/unistd.h:475:3: note: </div><div>      'sleep' declared here</div><div>         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);</div><div>         ^</div><div>2 errors generated.</div><div><br></div><div>    mex: compile of ' "<a href="http://emotiv2ft.cc">emotiv2ft.cc</a>"' failed.</div></div><br><br><div apple-content-edited="true">
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-size: 14px;"><font color="#5e5e5e">---</font></div><div style="color: rgb(0, 0, 0); font-size: 14px;"><font color="#5e5e5e">Karl Doron, PhD</font></div><div style="font-size: 14px;"><font color="#5e5e5e">University of California, San Diego</font></div></div></span></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></body></html>