devIL导致程序无法正常启动 [英] devIL causes program to be unable to start correctly
问题描述
我只是尝试使用 devIL 和 ULIT 来帮助我加载 opengl 纹理.但是,每当程序启动时,我都会收到错误消息:
I just tried to use devIL and ULIT to help me with opengl texture loading. However, whenever the program starts, I get the error:
应用程序无法正确启动(0xc000007b).点击确定关闭应用程序."
"The application was unable to start correctly (0xc000007b). Click OK to close the application."
发生了什么?我使用的是 Visual C++ 2010 RC,Windows 7 64 位.
What happened? I'm using the Visual C++ 2010 RC, windows 7 64-bit.
推荐答案
如果您尝试运行 64 位应用程序,可能会发生这种情况,但 Windows 只能找到某些依赖 DLL 的 32 位版本.您可以通过确保 Windows 可以找到所有 64 位依赖项 DLL 来解决此问题,例如通过适当设置 %path%.
It may happen if you attempt to run a 64-bit application, but Windows finds only the 32-bit version of some dependent DLL. You can fix this by making sure all the 64-bit dependency DLLs can be found by Windows, e.g. by setting %path% as appropriate.
这篇关于devIL导致程序无法正常启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!