I wanted to use the VLFEAT package for my matlab 2017b. From http://www.vlfeat.org/download/ .. also given in http://www.vlfeat.org/install-matlab.html.
I followed the instruction given in the link http://www.vlfeat.org/install-matlab.html. Also by Mrs. C.A.Laulkar in https://in.mathworks.com/matlabcentral/answers/250845-vlfeatroot-toolbox-vl_setup-not-found. But i am getting this error
Invalid MEX-file 'D:\MATLAB\vlfeat-0.9.21\toolbox\mex\mexw64\vl_sift.mexw64': Missing dependent shared libraries: 'VCOMP140.DLL' required by 'D:\MATLAB\vlfeat-0.9.21\toolbox\mex\mexw64\vl.dll->D:\MATLAB\vlfeat-0.9.21\toolbox\mex\mexw64\vl_sift.mexw64'.
when i call vl_sift function. Why.? your solution will help me alot. Thank You in advance.

 採用された回答

Walter Roberson
Walter Roberson 2018 年 7 月 17 日

2 投票

"Download the Visual C++ Redistributable for Visual Studio 2015 from https://www.microsoft.com/en-ca/download/details.aspx?id=48145. You are going to want to select both ‘vc_redist.x64.exe’ åand ‘vc_redist.x86.exe’ files to download."

4 件のコメント

Karthik K
Karthik K 2018 年 7 月 17 日
Thanks alot sir. It helped me. Past from many days i was trying to solve. Now i founded a solution from you sir. Thank you sir -> Walter Roberson.
Pham Xuan Trung
Pham Xuan Trung 2018 年 9 月 19 日
編集済み: Pham Xuan Trung 2018 年 9 月 19 日
Me too. I downloaded and then install vc_redist.x64.exe and it works normally. This is perfect solution for my same case as subject issue:
"Invalid MEX-file 'C:\Users\KIM\Downloads\temp\vlfeat\toolbox\mex\mexw64\vl_version.mexw64': Missing dependent shared libraries: 'VCOMP140.DLL' required by 'C:\Users\KIM\Downloads\temp\vlfeat\toolbox\mex\mexw64\vl.dll->C:\Users\KIM\Downloads\temp\vlfeat\toolbox\mex\mexw64\vl_version.mexw64'."
Zeeshan Rashid
Zeeshan Rashid 2018 年 11 月 28 日
Thanks a lot sir. your solution helped me get over this issue. Best wishes for you sir.
Suleiman Usman
Suleiman Usman 2019 年 1 月 27 日
Thank you for your answer @Walter Roberson

サインインしてコメントする。

その他の回答 (2 件)

Zeheng Li
Zeheng Li 2019 年 9 月 5 日

0 投票

Thank you so much sir. Your solution solved my problem perfectly.
Ghalia
Ghalia 2019 年 10 月 21 日

0 投票

This solution worked perfectly. Thank you

1 件のコメント

asmaa atalaa
asmaa atalaa 2023 年 3 月 28 日
I have the same problem, and tried your solution, but i still have the same error. (i have matlab 2022a, visual studio 2015, and installed Visual C++ Redistributable (x64 and x86).
could you please help me solving this problem?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by