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 Comments

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'.
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 on 13 Jan 2018
Edited: Laura on 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, 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
@Laura: Now it is fine. Thanks. With this link readers can find the details of the problem.

Sign in to comment.

Answers (0)

Categories

Asked:

BLG
on 12 Oct 2017

Commented:

Jan
on 13 Jan 2018

Community Treasure Hunt

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

Start Hunting!