guojin-yan / OpenVINO-CSharp-API

OpenVINO wrapper for .NET.
Apache License 2.0
137 stars 35 forks source link

System.DllNotFoundException:“无法加载 DLL“openvino_c”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。” #27

Closed xiaoguows closed 2 months ago

xiaoguows commented 3 months ago

我用visual studio 2022创建了一个C#windons程序,从nuget导入了以下几个包: OpenVINO.CSharp.API、OpenVINO.CSharp.API.Extensions、OpenVINO.CSharp.API.Extensions.OpenCvSharp、OpenVINO.runtime.win 和其他需要的opencvsharp包等,然后在程序中执行:Core core = new Core();就出现了“无法加载 DLL“openvino_c”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。”,这是什么原因啊,我的是win11系统,C#桌面程序的目标架构是NET Framework4.8.

guojin-yan commented 3 months ago

请参考:问题 https://github.com/guojin-yan/OpenVINO-CSharp-API/issues/26