在尝试编译dlib示例时,我反复得到0xc000007b [英] I am repeatedly getting 0xc000007b while trying to compile dlib example
本文介绍了在尝试编译dlib示例时,我反复得到0xc000007b的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在编译DLib示例,在尝试执行时,我得到0xc000007b。我使用VS 64位构建并链接到64位OpenCV。
我尝试过:
使用CMake对64位进行编译。
解决方案
此错误的常见来源是从64位应用程序加载32位DLL反之亦然。
请检查项目设置(指定的DLL是否与32/64位应用程序匹配)和使用<$ c $加载的DLL c> #pragma 语句。
您还可以使用依赖步行者(depends.exe)主页 [ ^ ]。
I am compiling DLib examples and when trying to execute, I get 0xc000007b. I built using VS 64 bit and linking to 64 bit OpenCV.
What I have tried:
Compiling using CMake against 64 bit.
解决方案
A common source for this error is loading a 32-bit DLL from a 64-bit application or vice versa.
So check your project settings (does the DLLs specified there match the application for 32 / 64-bit) and the DLLs loaded using#pragma
statements.
You can also check the dependencies of your application using the Dependency Walker (depends.exe) Home Page[^].
这篇关于在尝试编译dlib示例时,我反复得到0xc000007b的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文