2
« on: May 20, 2012, 01:32:51 am »
Hi everyone,
I am a total noob to all things C++, SFML and programming, so please be gentle,
Q1) I have followed the getting started tutorial for SFML 2.0 using Visual C++ 2010. I am running it on Windows 8 Consumer Preview. It is compiling and running successfully in both debug and release configs. And I have tried both static linking and dynamic linking successfully. However even though the app window is displayed successfully, I get a number of error messages in the console window which pops up when executing debug config (none with release) and I would like to know if I can safely ignore them ? I get three messages stating "An internal OpenGL call failed in Texture.cpp (146) : GL_INVALID_ENUM, an unacceptable value has been specified for an enumerated argument". I get another three messages with the same text but code (147) instead. I get these messages when I link statically and dynamically.
Q2) I am also wondering about various messages that are displayed in the debug pane of visual C++ 2010 after running both configurations. First this is what is displayed after running debug config…
'SFMLProjectWin8.exe': Loaded 'C:\Users\Geoff\Documents\Visual Studio 2010\Projects\SFMLProjectWin8\Debug\SFMLProjectWin8.exe', Symbols loaded.
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Users\Geoff\Documents\Visual Studio 2010\Projects\SFMLProjectWin8\SFMLProjectWin8\sfml-system-d-2.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Users\Geoff\Documents\Visual Studio 2010\Projects\SFMLProjectWin8\SFMLProjectWin8\sfml-graphics-d-2.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Users\Geoff\Documents\Visual Studio 2010\Projects\SFMLProjectWin8\SFMLProjectWin8\sfml-window-d-2.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Symbols loaded.
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\winmmbase.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\dinput.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\combase.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0xa04) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x11c4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x6b4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x101c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xe90) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf90) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xa00) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xbec) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x10b0) has exited with code 0 (0x0).
The program '[4856] SFMLProjectWin8.exe: Native' has exited with code 0 (0x0).
What are all the errors about not being able to load PDB files and how can I prevent them?
Q3) After running release config I get these messages in debug pane....
'SFMLProjectWin8.exe': Loaded 'C:\Users\Geoff\Documents\Visual Studio 2010\Projects\SFMLProjectWin8\Release\SFMLProjectWin8.exe', Symbols loaded.
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Users\Geoff\Documents\Visual Studio 2010\Projects\SFMLProjectWin8\SFMLProjectWin8\sfml-system-2.dll', Binary was not built with debug information.
'SFMLProjectWin8.exe': Loaded 'C:\Users\Geoff\Documents\Visual Studio 2010\Projects\SFMLProjectWin8\SFMLProjectWin8\sfml-graphics-2.dll', Binary was not built with debug information.
'SFMLProjectWin8.exe': Loaded 'C:\Users\Geoff\Documents\Visual Studio 2010\Projects\SFMLProjectWin8\SFMLProjectWin8\sfml-window-2.dll', Binary was not built with debug information.
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msvcp100.dll', Symbols loaded.
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msvcr100.dll', Symbols loaded.
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\winmmbase.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\dinput.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\combase.dll', Cannot find or open the PDB file
'SFMLProjectWin8.exe': Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x328) has exited with code 0 (0x0).
The program '[3196] SFMLProjectWin8.exe: Native' has exited with code 0 (0x0).
Again a load of problems loading PDB files, but also a few about the binary not being built with debug info. I presume that's because I am pressing F5 to debug when its a release config. So is there an option in VC++2010 to run the executable without debugging, and so preventing these messages from coming up?