Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
How can the mex-file error be resolved on my system?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have MATLAB 2009a and my system is 64-bit. I am trying to run a script involving face detection code which was running ok in 32-bit system and Opencv 2.2 but when i tried to run it on my system the following error occurs:
Invalid mex-file:C/:.......path..... the specified module could not be found.
Error in Eigenface at 94: faces=facedetect('haarcascade_frontalface_alt.xml',ii(1:scale:end,1:scale:end))
Anyone having any idea please let me know asap. Thankyou.
Risposte (2)
Jan
il 18 Set 2012
Modificato: Jan
il 18 Set 2012
You have to compile MEX-files for 64 bit again if you want to rund it under a 64 bit Matlab.
4 Commenti
math works gowroju
il 14 Mar 2013
Mine is 32 bit system, i recompiled the cpp file. still am getting invalid mex file, specified mex file could not found. what i should do?
Jan
il 14 Mar 2013
Modificato: Jan
il 14 Mar 2013
@gowroju: Please do not highjack an exitsing thread to ask a new question. Otherwise the accept status gets weird and in a discussion nobody knows, which answer belongs to which question. So please open a new thread and delete this comment. And when you do this, add any details.
Kaustubha Govind
il 14 Mar 2013
Modificato: Kaustubha Govind
il 14 Mar 2013
The error "specified module could not be found" typically indicates that the MEX-file is trying to load one or more DLLs that it is unable to find on your machine. Please use Dependency Walker to profile the MEX-file (which is actually in DLL format), to find what you're missing. Also, if the MEX-function was originally compiled using Visual Studio, you will need Visual Studio redistributables corresponding to that version. You need to find out which version of Visual Studio was used and install the right distributables - you should be able to figure this out using Dependency Walker.
0 Commenti
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!