Hi,
I'm just trying to get the wiiremote run with matlab. However, the mex file didn't work and so i'm attempting to recompile the wiiuse.dll as well as the fWIIne mex file.
When trying to compile it complains it cant open the file "hidsdi.h". So I included the directory "E:\WinDDK\7600.16385.0\inc\api" which contains this file as well as the other two files (hidusage.h and hidpi.h) needed.
But as soon as I try to recompile now, it spits out a huge amount of syntax errors. The protocol looks like this:
------ Rebuild All started: Project: wiiuse, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'wiiuse', configuration 'Debug|Win32'
Compiling...
classic.c
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2054: expected '(' to follow '_Check_return_'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2146: syntax error : missing ')' before identifier 'FILE'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2085: '_filbuf' : not in formal parameter list
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2146: syntax error : missing ',' before identifier 'FILE'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2143: syntax error : missing ';' before '*'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2059: syntax error : ')'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2143: syntax error : missing ')' before 'type'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2085: '_Ch' : not in formal parameter list
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2085: '_Inout_' : not in formal parameter list
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2146: syntax error : missing ',' before identifier 'FILE'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2143: syntax error : missing ';' before '*'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(190) : error C2059: syntax error : ')'
...
...
..
About 100 more syntax errors which i thought would not be very helpfull

....
..
.
...
...
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(241) : error C2059: syntax error : ')'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(243) : error C2146: syntax error : missing ')' before identifier 'FILE'
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(243) : error C2085: '_File' : not in formal parameter list
e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(243) : fatal error C1003: error count exceeds 100; stopping compilation
Generating Code...
Build log was saved at "file://c:\Documents and Settings\Keksmaster\Desktop\fWIIne\wiiuse_v0.12\src\msvc\Debug\BuildLog.htm"
wiiuse - 816 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
At this point I unfortunatelly didn't know any further

... Does anyone know a solution to this ??
thanks a lot!
Alex