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

6 views (last 30 days)
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

sana3 sal
sana3 sal on 20 May 2018
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)

Jan
Jan on 20 May 2018
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
sana3 sal
sana3 sal on 20 May 2018
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.

Community Treasure Hunt

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

Start Hunting!