Rank: 25976 based on 0 downloads (last 30 days) and 0 file submitted



Personal Profile:


Watch this Author's files


Comments and Ratings by msingh
Updated File Comments Rating
22 Mar 2011 Kinect Matlab Microsoft Kinect, OpenNI wrapper, Skeleton, Depth Author: Dirk-Jan Kroon


Does anybody know about the compilation errors that I am getting? I am using MATLAB Version (R14) Service Pack 3 with Microsoft Visual C/C++ 7.1.

Since nobody else is getting the rather specific compiler error I am getting, I am suspecting it is related to the specific compilers I am using. Since Matlab 7.1 does not support any compilers newer than Visual Studio .Net 2003, the options are limited.

Perhaps I need to switch to newer Matlab. Please let me know.


--> "cl "-IC:\Program Files\OpenNI\Include" -c -Zp8 -G5 -GR -W3 -DMATLAB_MEX_FILE -nologo /FoC:\DOCUME~1\msingh\LOCALS~1\Temp\mxNiCreateContext.obj -I"C:\Program Files\MATLAB71"\extern\include /MD -O2 -Oy- -DNDEBUG mxNiCreateContext.cpp"

C:\Program Files\OpenNI\Include\XnCppWrapper.h(4770) : warning C4002: too many actual parameters for macro 'XN_VALIDATE_NEW'
C:\Program Files\OpenNI\Include\XnCppWrapper.h(4770) : warning C4003: not enough actual parameters for macro 'XN_NEW'
C:\Program Files\OpenNI\Include\XnCppWrapper.h(4770) : error C2512: 'xn::StateChangedCallbackTranslator' : no appropriate default constructor available

C:\PROGRAM FILES\MATLAB71\BIN\MEX.PL: Error: Compile of 'mxNiCreateContext.cpp' failed.

??? Error using ==> mex
Unable to complete successfully

Contact us