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

N Rh
N Rh 2017년 10월 13일
편집: Walter Roberson 2017년 10월 13일
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 2018년 1월 13일
편집: Laura 2018년 1월 13일
I am having a similar problem (MATLAB Answers: Error: Missing dependent shared libraries maplec.dll required
Any advice would be appreciated.
Jan
Jan 2018년 1월 13일
@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 2018년 1월 13일
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 2018년 1월 13일
@Laura: Now it is fine. Thanks. With this link readers can find the details of the problem.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

질문:

BLG
2017년 10월 12일

댓글:

Jan
2018년 1월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by