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

Anshul Joshi

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Anshul View all
Updated File Comments Rating
26 Jun 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

Sometimes you might get an error even when you've installed correctly:

### Generating C MEX file for Simulink Support for Kinect...
kinectSDK_wrapper.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory

C:\PROGRA~1\MATLAB\R2011A\BIN\MEX.PL: Error: Compile of 'kinectSDK_wrapper.cpp' failed.

??? Error using ==> mex at 208
Unable to complete successfully.

Error in ==> makecmexfile4nid at 62
mex('sfun_nid.cpp', 'kinectSDK_wrapper.cpp', 'wrapper_common.cpp', ['-L'
KinectSDKPathLib], '-lKinect10', ['-I' KinectSDKPathInclude]);

Error in ==> setup_kinectsdk at 76
makecmexfile4nid;

This is because it cannot find the file ammintrin.h. Run CMD prompt as administrator and use:
echo. > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ammintrin.h"

to generate that file. (This instruction is given at http://www.chromium.org/developers/how-tos/build-instructions-windows)

13 Jun 2014 Kinect Matlab Microsoft Kinect, OpenNI wrapper, Skeleton, Depth Author: Dirk-Jan Kroon

I noticed atleast one person who got the following error:

mxNiChangeDepthViewPoint.cpp:3:22: fatal error: XnOpenNI.h: No such file or directory
compilation terminated.

mex: compile of ' "mxNiChangeDepthViewPoint.cpp"' failed.

??? Error using ==> mex at 222
Unable to complete successfully.

Error in ==> compile_cpp_files at 51
mex('-v',['-L' OpenNiPathLib],'-lopenNI',['-I' OpenNiPathInclude
''],Filename);

I'm compiling on ubuntu 12.04, with Matlab2010a. I've installed openni, nite and sensor kinect (it seems to be working on those samples with kinect). I changed compile_cpp_files.m lines 49 and 51 as stated in the last comment in that file.

If anyone has a hint why this is happening, please respond. Thank you in advance

Contact us