Invalid MEX file, the specified module could not be found (MyAppInstaller_mcr)

Hello everyone,
i have a problem with Mex file and until now i can´t solve this!!
I have a program that uses Mex files, and i have all this files into the same folder of program. I compile the program and then run, and it´s all perfect. Then i create a .exe file, with Application Compiler, and attach all the necessary files. The problem appear when i run the MyAppInstaller_mcr.exe generated by Application Compiler, emerge in screen the message : " Invalid MEX file... the specified module could not be found ". I have the same program (MyAppInstaller_mcr.exe) working well in other 2 PC´s, but in this pc i can´t put this working...
Anyone know,what can i do?
thank you in advance.

 Risposta accettata

The AppInstaller requires MSVC runtime libraries as well as the compiled MEX functions. With the compiler of Matlab 2009a I need the MSVC2005 libs for the extraction and MSVC2008.1 libs, because I compiled the MEX functions with this version of the compiler. It looks like these runtime libs have been installed already on the computers your installation is working on.

4 Commenti

Thank you for your quickly reply.
So, i have the Matlab 2016a, i can install any MSVC runtime?
thank you very much.
You need the runtime of the compiler used to create the Mex files.
I already install MSVC runtime, but is the same thing, the same error !!
I finally found out what was missing. I´m working with Kinect V2, and i completely forgot about the SDK as a interface, and i hadn't installed it.
Thank you very much!!

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by