OpenCV Unmanaged DLLs not found asp.net

后端 未结 5 965
一整个雨季
一整个雨季 2021-01-18 23:29

We are building a web application (C# .NET) that uses unmanaged libraries in the form of the Emgu opencv wrapper. We are forcing the build to be in 32-bit (x86), and we are

相关标签:
5条回答
  • 2021-01-19 00:06

    In my case "npp32_xx_x.dll" (xx_x is version no, 32 is the 32bit architecture) solved the problem. So you can try putting this dll to your projects out put folder for win apps and equivalent folder in web apps. The dll is Nvidia Cuda NPP Library.

    0 讨论(0)
  • 2021-01-19 00:14

    I faced the same problem few days back, I tried everything in my knowledge, but nothing helped to fix the issue. EmguCV works fine in my local 64bit Windows 8 pc but the server (Windows Web Server 64bit).

    But the problem was fixed after i did some truly random stuffs as follows: The server has Visual C++ 2008 Runtime previously installed, but again

    1. i installed Visual C++ 2010 x86.
    2. Repaired Visual C++ 2008 x86 Runtime installation

    and that fixed the problem. I can't explain how this happened, but i'm happy that the problem solved after two days of random experiment.

    0 讨论(0)
  • 2021-01-19 00:14

    To solve this problem put nvcuda.dll in /bin folder on web server. Be sure nvcuda.dll must be x86 Architecture is the same as the server, or x64 if web server has x64 Architecture.

    In future see other dependences in Dependence Walker http://www.dependencywalker.com/and put this dll's with parent libraries.

    0 讨论(0)
  • 2021-01-19 00:21

    From your error description and checks you already performed, it seems like that you have not installed MSVCRT.

    0 讨论(0)
  • 2021-01-19 00:23

    Make sure tbb.dll is also in the path, as opencv_core240.dll has a dependency on this. You can find tbb.dll under opencv/build/common/tbb.

    0 讨论(0)
提交回复
热议问题