SFML community forums
Help => General => Topic started by: Keith13024 on May 14, 2017, 08:16:52 pm
-
I get this error every time I compile with sfml 2.0:
'SFML.exe': Loaded 'C:\Users\Martin\Documents\SFML\Release\SFML.exe', Symbols loaded.
'SFML.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Program Files\AVAST Software\Avast\aswhookx.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
The program '[2284] SFML.exe: Native' has exited with code -1073741701 (0xc000007b).
-
Run your program in debug mode and get a stack trace from where it fails.
Additionally you should update to SFML 2.4.2 and VS 2017 Community.
-
I got this error when I used Debug:
'SFML.exe': Loaded 'C:\Users\Martin\Documents\SFML\Debug\SFML.exe', Symbols loaded.
'SFML.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Program Files\AVAST Software\Avast\aswhookx.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Users\Martin\Documents\SFML\SFML\sfml-graphics-d-2.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Users\Martin\Documents\SFML\SFML\sfml-window-d-2.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Users\Martin\Documents\SFML\SFML\sfml-system-d-2.dll', Cannot find or open the PDB file
'SFML.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Symbols loaded.
'SFML.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
The program '[7176] SFML.exe: Native' has exited with code -1073741701 (0xc000007b).
-
Are you running it through the debugger? It should break when it crashes and show you the call stck and where it crashes.
-
Yes I am using the debugger. Also when it crashes it gives me an error 0xc000007b and says the application was unable to start properly.
-
Did you provide the x64 SFML libs while building an x86 application?
Why are you using VS 2010 and SFML 2.0?
-
No I did not. I am using vs2010 because my pc lacks a lot off space on its hard disk and I am also using sfml2.0 because it supports vs 2010. I tried using sfml2.3 but It gave me the same error.
-
All versions of SFML support VS 2010, we just stopped providing pre-built packages, as VS 2010 is ancient by now.
I'm actually not sure, but I think with the "modular" VS 2017 installer, you might be able to get a smaller footprint than with VS 2010, but you'd have to uninstall VS 2010 given that you're so low on space.
Or order a new disk. ;)
As for the problem 0000007b is often an indication that you're mixing architecture types. For example compiling as x86 but using the x64 libs.