我试图在Visual 2013上使用OpenCV 2.4.10创建一个项目,但由于以下例外,到目前为止我运气很差。请提供帮助。蒂娅。
'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.
发布于 2015-02-15 08:12:07
我收到了同样的错误消息,因为我的程序试图加载32位DLL而不是64位DLL。您可以看到您的程序试图使用依赖沃克加载哪些DLL。
执行下列步骤:
在我的例子中,其中一个DLL是32位而不是64位,因为我没有将64位DLL添加到我的环境路径中。我刚刚将64位DLL复制到与我的程序二进制文件相同的文件夹中,错误就消失了。
https://stackoverflow.com/questions/28340519
复制