Error ordinal not found for exe obtained from the compiler
이전 댓글 표시
I have a problem with an exe created with the compiler.
When I run the exe file created with the compiler I get the error: "Impossibile trovare l'ordinale 4739 nella libreria di collegamento dinamico D:\HD\Programmi\MATLAB\R2019a\bin\win64\libmwflcertificates.dll". The error says that the ordinal 4739 is not found in the library libmwflcertificates.dll.
Until I used the R2018a version I found no problems, while the error occurred creating the executable with the new R2019a version.
If the executable is launched on another PC with only the runtime v9.6 installed, the error does not occur. On my pc I have already tried to uninstall Matlab and install only the runtime and also to install both the runtime and Matlab.
Searching I found only in the manual of the Compiler the part that speaks of the error "The ordinal #### could not be located in the dynamic-link library dforrt.dll", but it doesn't seem to concern my problem.
Does anyone have any idea how to solve?
My pc has windows 10.
Thank you.
댓글 수: 4
Guillaume
2019년 5월 17일
I can give you a bit more details about what's happening but unfortunately, I can't help with resolving it.
DLLs are files that contain many functions that can be use by other programs. Your executable wants to execute a function in libmwflcertificates.dll. There are two ways for a program to locate where a function is in the dll. They can either specify the function name, or they can specify the index of the function (this is the ordinal). Here your exe tries to execute the function with index 4739. Unfortunately, the version of libmwflcertificates.dll that's on your machine doesn't have a function at that index. Hence the error.
You would typically see that error on a machine that use an older version of the dll, before the function was added. However, I don't believe that's your problem here because ordinal 4739 seems far to big. On my computer (matlab R2019a),the ordinals in libmwfglcertificates only go up to 225.
So your ordinal doesn't make sense, but I've no idea how it could have got there.
Alberto Urban
2019년 5월 17일
Guillaume
2019년 5월 17일
No, nothing to do with the redistributable. Also nothing to do with the dll itself. That ordinal is too high, so it looks like something went wrong during the compilation.
Alberto Urban
2019년 5월 17일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!