【问题标题】:Emgu DLL not found and Bad Image Format exceptions in Windows 8.1Windows 8.1 中未找到 Emgu DLL 和错误图像格式异常
【发布时间】:2021-01-16 20:07:19
【问题描述】:

我有一个使用 Emgu.CV v 3.1 的 .Net 应用程序,它在 Win 10 上安装后运行正常,但在 Win 8.1 64 位上失败并出现类型初始化程序异常,并且已安装 dll 'cvextern' 的 InnerException DLLNotFound在包含 .exe 的主安装文件夹的 x64 子文件夹中。将 cvextern dll 复制到主安装文件夹(过去已解决该问题)会导致 BadImageFormat 异常。

【问题讨论】:

    标签: .net windows-8.1 emgucv badimageformatexception dllnotfoundexception


    【解决方案1】:

    修复方法是将 dll msvcr120.dll 和 msvcp120.dll 添加到包含 cvextern.dll 的文件夹中,即 C:\Programs\x64。最初的 InnerException 应该是 DLLorComponent not found。也许 Win 8.1 需要 DLL 组件与其父组件位于同一文件夹中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-10-23
      • 1970-01-01
      • 1970-01-01
      • 2019-05-05
      • 2018-02-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多