shimat / opencvsharp

OpenCV wrapper for .NET
Apache License 2.0
5.39k stars 1.15k forks source link

Unable to load DLL 'OpenCvSharpExtern' #1219

Closed bsh58 closed 3 years ago

bsh58 commented 3 years ago

Summary of your issue

I received an error message when attempting to run a program using opencvsharp.

Inner Exception 1: DllNotFoundException: Unable to load DLL 'OpenCvSharpExtern': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I cannot find OpenCvSharpExtern.dll on my computer and cannot figure out how to load it.

Environment

I was running the program inside Visual Studio 2019 using debug mode. I used NuGet to load

OpenCvSharp4.runtime.win OpenCvSharp4 OpenCvSharp4.Windows OpenCvSharp4.WpfExtensions

They are all marked version 4.5.1.20210210 I assume that there is something else which I need to load, but its not clear to me what I am missing.

What did you do when you faced the problem?

Example code:

paste your core code

Output:

paste your output

What did you intend to be?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.