Problem running mexw64 file, missing .dll files

I am attempting to use a mex file but am running into issues with accessing .dll files. I am using Matlab 2017a on a Windows 7 x64. However, when I run the mex file, I receive the following errors:
Invalid MEX-file 'C:\...\Documents\MATLAB\Matlab Offline
Files SDK\mexPlex.mexw64': Missing dependent shared libraries:
'MSVCP80.dll' required by 'C:\...\Documents\MATLAB\Matlab
Offline Files SDK\mexPlex.mexw64'
'MSVCR80.dll' required by 'C:\...\Documents\MATLAB\Matlab
Offline Files SDK\mexPlex.mexw64'
I've tried reinstalling matlab and reinstalling Visual Studio C++ 2005 (supposedly contains these files?). Any assistance would be much appreciated.

8 commentaires

N Rh
N Rh le 13 Oct 2017
Modifié(e) : Walter Roberson le 13 Oct 2017
I have the same problem:
Invalid MEX-file 'C:\...\Documents\MATLAB\VL_feat_Matlab\vlfeat-0.9.17\toolbox\mex\mexw64\vl_version.mexw64':
Missing dependent shared libraries:
'VCOMP90.DLL' required by
'C:\...\Documents\MATLAB\VL_feat_Matlab\vlfeat-0.9.17\toolbox\mex\mexw64\vl.dll->C:\...\Documents\MATLAB\VL_feat_Matlab\vlfeat-0.9.17\toolbox\mex\mexw64\vl_version.mexw64'.
MSVCR80.dll was part of Microsoft Visual C++ 2005 Redistributable. The 32 bit version of that is https://www.microsoft.com/en-ca/download/details.aspx?id=3387; the 64 bit is https://www.microsoft.com/en-ca/download/details.aspx?id=21254
I'm having this problem in Matlab 2017b. Did you ever find a solution for it?
You need to install the redistributables that I noted. vlfeat was compiled against old Visual Studios versions.
Laura
Laura le 13 Jan 2018
Modifié(e) : Laura le 13 Jan 2018
I am having a similar problem (MATLAB Answers: Error: Missing dependent shared libraries maplec.dll required
Any advice would be appreciated.
Jan
Jan le 13 Jan 2018
@Laura: Please mention, what you try to do. Post a link to your complete question: https://www.mathworks.com/matlabcentral/answers/376982-error-missing-dependent-shared-libraries-maplec-dll-required
Laura
Laura le 13 Jan 2018
Jan, I don't understand your comment. I posted a link with a full description of my issue and question. Can you clarify what you want me to do?
Laura
Jan
Jan le 13 Jan 2018
@Laura: Now it is fine. Thanks. With this link readers can find the details of the problem.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Question posée :

BLG
le 12 Oct 2017

Commenté :

Jan
le 13 Jan 2018

Community Treasure Hunt

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

Start Hunting!

Translated by