简体   繁体   中英

Emgu.CV can't load dll's

I have an ASP.NET application that uses Emgu.CV for image processing. All worked fine until today morning... Till then I am getting the error

{"Unable to load DLL 'opencv_core249': Das angegebene Modul wurde nicht gefunden. (Exception from HRESULT: 0x8007007E)"}

That means something like "Couldn't find the specified module"

when accessing a class from Emgu.CV. The ASP.NET application is beeing compiled as a x86 dll. This is how the output folder looks like:在此处输入图片说明

the folder "x86" contains all 22 dll from opencv, while the folder lib contains the dll "Emgu.CV.dll". Strange thing is it worked until now, so something must have changed that broke it. I have tried Clean solution, rebuild solution with no success. I've been on this problem the whole day now, I'm loosing patience :(

EDIT: This is what DependencyWalker says:缺少依赖项

After a few days the error disappeared again.

Not sure what caused it. Maybe some bug in Visual Studio not loading all necessary dll's when debugging using the built in web-server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM