Problem running mexw64 file, missing .dll files
Show older comments
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 Comments
N Rh
on 13 Oct 2017
Edited: Walter Roberson
on 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'.
Walter Roberson
on 13 Oct 2017
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
Christopher
on 4 Jan 2018
I'm having this problem in Matlab 2017b. Did you ever find a solution for it?
Walter Roberson
on 4 Jan 2018
You need to install the redistributables that I noted. vlfeat was compiled against old Visual Studios versions.
I am having a similar problem (MATLAB Answers: Error: Missing dependent shared libraries maplec.dll required
Any advice would be appreciated.
Jan
on 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
on 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
on 13 Jan 2018
@Laura: Now it is fine. Thanks. With this link readers can find the details of the problem.
Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!