-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Build] api-ms-win-core-heap-l2-1-0.dll missing on windows server 2012 R2 #15025
Comments
Not clear how this is related to onnxruntime. Can you please elaborate? |
Where did you get the onnxruntime dll from and what version is it? api-ms-win-core-heap-l2-1-0.dll is a low-level windows library. You may need to install a Visual C++ Redistributable package such as https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 |
1.14.1 from Nuget. I have already installed the latest vcredist (The screenshot on the original thread shows it is installed) |
The onnxruntime binary was built with Visual Studio 2019 and the dll in question comes from a Windows 'api set' which isn't something we distribute directly. It's just a lightweight redirection dll to point to a function in kernelbase.dll and I'm not sure how to get that particular version onto a Windows Server 2012 machine if installing the VC++ redist package wasn't enough. Might be worth trying building directly to see if that changes the dependencies. https://onnxruntime.ai/docs/build/inferencing.html#windows |
I tried to download lots of I found this article: The weird thing is that I tried to search my local computer on which my app works, I still can not find that dll file under Some related links: I don't know if other people needs to deploy their apps on Windows earlier than Windows-10. I guess technically onnxruntime could use |
🤔 According to https://github.com/microsoft/onnxruntime/releases/tag/v1.13.1, "Support for Windows 7+ Desktop versions (including Windows servers) will be retained by building ONNX Runtime from source". So ORT should be able to run on Windows Server 2012 R2 too, if built locally. However, I don't know what command line switches must be passed to the build to configure it correctly. (I'd be interested to know though, because I have a personal ORT-based app I want to run on Win7 too) |
I guess we have to build it from source for this moment. It is not available in conan-index, otherwise we could use conan:( |
@skottmckay @fdwr "Windows builds are not compatible with Windows 8.x in this release. Please use v1.11 for now." great news, I looked dependency walker with onnxruntime.dll v1.11.1, it seems it doesn't depends on |
@sinall Help, do you try on win server 2012 onnxruntime support last version is v1.11.1? |
这个问题我研究了好几天,终于解决了!!我现在将这个文件分享出来。。 |
You can implement it yourself to support Windows 7. The issue is resolved here: |
Describe the issue
api-ms-win-core-heap-l2-1-0.dll missing on windows server 2012
Urgency
No response
Target platform
windows server 2012
Build script
N/A
Error / output
api-ms-win-core-heap-l2-1-0.dll missing on windows server 2012
Visual Studio Version
2019
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: