Error: Invalid MEX file, the specified module could not be found

Hello there, I am working on the attached document regarding https://github.com/vedaldi/practical-object-category-detection and i am trying to make their example work! when i tried to run the 1.2 Extract HOG features from the training images step, i have the following error: Error: practical-category-detection-2018a\vlfeat\toolbox\mex\mexw64\vl_hog.mexw64': The specified module could not be found. can anyone help me with this error?

 Accepted Answer

i have solve to problem immediately by downloading the Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) : https://www.microsoft.com/en-us/download/details.aspx?id=2092 thank you for your help.

More Answers (1)

This means, that a library is missing. See https://www.mathworks.com/matlabcentral/answers/92362-how-do-i-determine-which-libraries-my-mex-file-or-stand-alone-application-requires and use the DependencyWalker. Check the MEX file and search for warning. Then use the names of the missing DLLs and search in the net for the requires redistributables.
If you are not successful, ask the authors of the tool.

1 Comment

i have solve to problem immediately by downloading the Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) : https://www.microsoft.com/en-us/download/details.aspx?id=2092 thank you for your help.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 20 May 2018

Answered:

on 20 May 2018

Community Treasure Hunt

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

Start Hunting!