Error : the application was unable to start correc

2019-06-07 02:37发布

问题:

This question already has an answer here:

  • The application was unable to start correctly (0xc000007b) 17 answers

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:

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:

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!

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.

回答1:

Use Dependency Walker tool to make sure there are no DLLs missed. Take a look here: The application was unable to start correctly (0xc000007b)