Qt – Visual C++ 2008 runtime error– debug vs release exe problem

debuggingopenglpdb-filesqtvisual c++

I have a Windows executable (native, not .Net) project that I'm trying to pass along to a new team member. It's a graphics modeling tool that uses the Qt widget library and OpenGL.

The project runs fine on my box but when we buld and link it on this new member's machine and he tries deubugging it, here's what he sees (not all entries included, for brevity):

ModelingTool.exe': Loaded
'C:\ModelingTool\ModelingTool\ModelingTool\Debug\ModelingTool.exe', Symbols
loaded.
'ModelingTool.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or
open the PDB file
'ModelingTool.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find
or open the PDB file
'ModelingTool.exe': Loaded 'C:\Windows\System32\opengl32.dll', Cannot find
or open the PDB file
'ModelingTool.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find
or open the PDB file
'ModelingTool.exe': Loaded 'C:\Windows\System32\dwmapi.dll', Cannot find
or open the PDB file
'ModelingTool.exe': Loaded 'C:\Qt\4.2.2\bin\Qt3Supportd4.dll', Symbols
loaded.
'ModelingTool.exe': Loaded 'C:\Program Files\Spyware Doctor\smum32.dll',
Binary was not built with debug information.
Debugger:: An unhandled non-continuable exception was thrown during
process load
The program '[5936] ModelingTool.exe: Native' has exited with code
-1072365566 (0xc0150002).

Would anyone care to guess what's wrong here? Some sort of debug-release mismatch perhaps?

Best Answer

The exit code provides a good hint, 0xc0150002 = STATUS_SXS_CANT_GEN_ACTCTX, "Windows was not able to process the application binding information. Please refer to your System Event Log for further information."

The event log will tell you what is wrong with the manifest or what side-by-side installed component is missing from your machine.

Related Topic