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

1 visualizzazione (ultimi 30 giorni)
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

Jan
Jan il 23 Giu 2017
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
Márcio Marques
Márcio Marques il 23 Giu 2017
I already install MSVC runtime, but is the same thing, the same error !!
Márcio Marques
Márcio Marques il 23 Giu 2017
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

Scopri di più su Troubleshooting in MATLAB Compiler SDK in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by