首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >OpenCV Visual ntdll.dll

OpenCV Visual ntdll.dll
EN

Stack Overflow用户
提问于 2015-02-05 09:35:37
回答 1查看 5.8K关注 0票数 4

我试图在Visual 2013上使用OpenCV 2.4.10创建一个项目,但由于以下例外,到目前为止我运气很差。请提供帮助。蒂娅。

代码语言:javascript
复制
'letstryitonemoretime.exe' (Win32): Loaded 'C:\Users\Kndarp\Documents\Visual Studio 2013\Projects\letstryitonemoretime\Debug\letstryitonemoretime.exe'. Symbols loaded.
'letstryitonemoretime.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
'letstryitonemoretime.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded.
'letstryitonemoretime.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.
First-chance exception at 0x77BC8F05 (ntdll.dll) in letstryitonemoretime.exe: 0xC000007B:  %hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0x.
Unhandled exception at 0x77BC8F05 (ntdll.dll) in letstryitonemoretime.exe: 0xC000007B:  %hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0x.
EN

回答 1

Stack Overflow用户

发布于 2015-02-15 16:12:07

我收到了同样的错误消息,因为我的程序试图加载32位DLL而不是64位DLL。您可以看到您的程序试图使用依赖沃克加载哪些DLL。

执行下列步骤:

  1. 开放依赖沃克
  2. 打开可执行文件(文件->打开,选择可执行文件)
  3. 确保所有DLL都使用相同的CPU架构。中间窗格列出程序正在使用的所有DLL。CPU列显示DLL是32位还是64位.它们都应该是一样的。

在我的例子中,其中一个DLL是32位而不是64位,因为我没有将64位DLL添加到我的环境路径中。我刚刚将64位DLL复制到与我的程序二进制文件相同的文件夹中,错误就消失了。

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28340519

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档