Invalid MEX-file The specified module could not be found (R2010a)

2 次查看(过去 30 天)
Hi, I am a french guy, sorry for my English ... I am on MATLAB R2010a and i want to use Openni and Nite to have a tracker for the kinect.
I follow these instruction http://www.mathworks.com/matlabcentral/fileexchange/30242-kinect-matlab but i have an error when i try to execute example.m, after 4 hour i will surrend ... I get this error :
??? Invalid MEX-file 'C:\OpenNI1\Mex\mxNiCreateContext.mexw64': Le module spécifié est introuvable. . Error in ==> Example at 9 KinectHandles=mxNiCreateContext(SAMPLE_XML_PATH);
I try to use dependswalker to see if dlls files miss, i download all of these files and the error stay here ... I use the compiler Microsoft Visual C++ 2010 Express with Windows SDK 7.1.
If you know how to fix this error, please tell me how !
Thank you,
Souil002

回答(1 个)

Ken Atwell
Ken Atwell 2014-4-19
You are on the right track. You download the missing dependencies -- great -- but they must also be visible to MATLAB on the path. Make sure this is the case; placing the dependencies in the same folder as the MEX-File is a reasonable approach.
If that still does not work, try running Dependency Walker from within MATLAB:
>> !C:\path\to\depends.exe
I believe this will give you insight as to how MATLAB "sees" you paths and such.
  2 个评论
Astha Ameta
Astha Ameta 2017-1-19
Hi I am facing the same issue. Even after placing the dll files in the same folder as svmtrain.mexw64 folder, I get the same error. Please advise if you know how to fix it. Thanks
Walter Roberson
Walter Roberson 2017-1-19
Astha Ameta, that sounds to me as if you are trying to use a different program, not related to Kinect ?

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by