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 Kommentare

N Rh
N Rh am 13 Okt. 2017
Bearbeitet: Walter Roberson am 13 Okt. 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
Christopher
Christopher am 4 Jan. 2018
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 am 13 Jan. 2018
Bearbeitet: Laura am 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 am 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 am 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 am 13 Jan. 2018
@Laura: Now it is fine. Thanks. With this link readers can find the details of the problem.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

BLG
am 12 Okt. 2017

Kommentiert:

Jan
am 13 Jan. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by