Procedure entry point could not be located

4 views (last 30 days)
Basak Oztan
Basak Oztan on 14 Oct 2020
Commented: Basak Oztan on 30 Jul 2021
Hello,
I have a Visual Studio application that works fine in Release mode but when I try to run it in Debug mode I get an entry point not found error immediately. Error message says "The procedure entry point H5Rdereference could not be located in the dynamic link library C:\Program Files\MATLAB\R2019b\bin\win64\libmat.dll "
I searched matlab central for similar Q&As and most Mathworks Support Team replies mention different versions of Matlab installed on system. I only have one version (2019b). Anybody have a clue what might be the problem?
Thanks.
  2 Comments
Jakub Krizan
Jakub Krizan on 29 Jul 2021
Edited: Jakub Krizan on 30 Jul 2021
I have similar problem with R2021a Update 3. App built with Visual Studio 2019 (16.9.2). Unfortunately same problem occures also with release build.
Edit: The problem occured when I tried to create standalone executable with minimum set of dlls. Copying hdf5.dll to the exacutable folder solved the issue.
Basak Oztan
Basak Oztan on 30 Jul 2021
Wowww this did the trick. In addition to hdf5.dll, it also asked szip.dll but once those two were copied under the executable folder, it worked! Thanks so much.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!