C++ 错误:应用程序无法正确启动
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18948497/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Error : the application was unable to start correctly
提问by Sepideh Abadpour
Can anyone tell me what causes this error:
谁能告诉我是什么导致了这个错误:
I don't know what other information about the project may be needed to be included!
If you need more information, it would be appreciated to inform me.
But please help me!
不知道还有哪些项目信息需要包含!
如果您需要更多信息,将不胜感激通知我。
但是请帮帮我!
I'm running the program on a Win7x64 ultimate and this is the configuration of my project:
我在 Win7x64 Ultimate 上运行该程序,这是我的项目的配置:
also these are the paths of include and library directories that are needed in the project:
the program uses OpenGL
,GLU
,GLUT
and GDAL/OGR
libraries, which I have downloaded GDAL/OGR from here.
Also I need these dlls in my program:
同时这些都是需要在项目和库目录的路径:
程序使用OpenGL
,GLU
,GLUT
和GDAL/OGR
库,这是我从下载GDAL / OGR这里。
我的程序中也需要这些 dll:
gdal110.dll
glut32.dll
libexpat.dll
xerces-c_2_8.dll
libpq.dll
ssleay32.dll
that I have copied and pasted them from the path below ( which I have provided from the downloaded folders in my program )
我从下面的路径中复制并粘贴了它们(我从程序中下载的文件夹中提供了这些)
D:\JobList\Lib\GDAL_lib\x86\bin
next to the .exe file of my project.
This is too late to try all the ways you've suggested, I will try all ofd them tomorrow but please don't close my question and just tell me what I'm doing wrong in asking the question.
thanks for your attention!
在我的项目的 .exe 文件旁边。
现在尝试您建议的所有方法为时已晚,我明天将尝试所有方法,但请不要结束我的问题,只需告诉我我在提问时做错了什么。
感谢您的关注!
Oh, and one more thing is that this program was runnin perfectly. But recently I have reinstalled my windows and the above problem is created after reinstallin the windows.
哦,还有一件事是这个程序运行得很好。但是最近我重新安装了我的 Windows,并且在重新安装 Windows 后产生了上述问题。
回答by Yury Schkatula
Use Dependency Walker tool to make sure there are no DLLs missed. Take a look here: The application was unable to start correctly (0xc000007b)
使用 Dependency Walker 工具确保没有遗漏任何 DLL。看看这里:应用程序无法正确启动(0xc000007b)