Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] provider_bridge_ort.cc:1193 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "xxx/onnxruntime_providers_openvino.dll" #324

Closed
DennisJcy opened this issue Oct 31, 2023 · 4 comments

Comments

@DennisJcy
Copy link

Describe the issue

Hello
I meet the problem when build the ort with openvino.And I make sure that i have copy the dll to the root.
image

Urgency

No response

Target platform

Windows

Build script

Visual Studio 2022 (v143)
Windows SDK 10.0.17763.0

Error / output

D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1193 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "E:\project\Project_C++\YOLO_ONNX\x64\Release\onnxruntime_providers_openvino.dll"

Visual Studio Version

2022

GCC / Compiler Version

No response

@DennisJcy DennisJcy changed the title [Build] provider_bridge_ort.cc:1193 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "E:\project\Project_C++\YOLO_ONNX\x64\Release\onnxruntime_providers_openvino.dll" [Build] provider_bridge_ort.cc:1193 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "xxx/onnxruntime_providers_openvino.dll" Oct 31, 2023
@DennisJcy DennisJcy reopened this Dec 8, 2023
@sspintel
Copy link

Hi, Did you try with the OpenVINO environment initialized? i.e, running the setupvars.bat script of the OpenVINO release package before you run your app.

@DennisJcy
Copy link
Author

Hello, @sspintel I do that again. I put my powershell log under.It only echo "OpenVINO environment initialized".But I look the script, It seems to be unwork.
image

image

Copy link

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale label Jan 11, 2024
Copy link

This issue has been automatically closed due to inactivity. Please reactivate if further support is needed.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants