Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Cannot find or open the PDB file  (Read 16536 times)

0 Members and 1 Guest are viewing this topic.

tiby312

  • Newbie
  • *
  • Posts: 9
    • View Profile
Cannot find or open the PDB file
« on: August 23, 2011, 04:24:19 am »
Hi, I got sfml 2 working in visual express 2010.

It works fine, except I get this output.

Code: [Select]

'visualStudioProj.exe': Loaded 'F:\Dropbox\Developer\c++\visualStudioProj\Debug\visualStudioProj.exe', Symbols loaded.
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'F:\Dropbox\Developer\c++\visualStudioProj\Debug\sfml-window-d-2.dll', Symbols loaded.
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'F:\Dropbox\Developer\c++\visualStudioProj\Debug\sfml-system-d-2.dll', Symbols loaded.
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Symbols loaded.
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'F:\Dropbox\Developer\c++\visualStudioProj\Debug\sfml-graphics-d-2.dll', Symbols loaded.
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\nvoglv32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x1128) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xc10) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x630) has exited with code 0 (0x0).
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\dinput.dll', Cannot find or open the PDB file
'visualStudioProj.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0xcd0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x17f0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x176c) has exited with code 0 (0x0).
The program '[2396] visualStudioProj.exe: Native' has exited with code 0 (0x0).


Can I just ignore this if everything is working fine?

CodeCriminal

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Cannot find or open the PDB file
« Reply #1 on: August 23, 2011, 04:27:25 am »
I get these same errors, AFAIK you can ignore them, they wont interrupt development and im pretty sure it has nothing to do with SFML but rather visual studio (and possibly windows 7) itself.

omeg

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://omeg.pl/
Cannot find or open the PDB file
« Reply #2 on: August 23, 2011, 08:30:54 am »
Debugger tries to find and a PDB  file (symbols information) for every module it loads. Obviously some external DLLs don't have it available, so debugger won't be able to give detailed information *if* you were to debug those DLLs ;)

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
Cannot find or open the PDB file
« Reply #3 on: August 23, 2011, 02:03:46 pm »
A lot of those files do have debug information, so you just need to make sure you are linking them correctly.

Are you doing a debug or release build of your app?

You see this commonly when you are trying to debug (by pressing F5) a release build.
SFML 2.1

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Cannot find or open the PDB file
« Reply #4 on: August 23, 2011, 02:08:00 pm »
Quote
A lot of those files do have debug information, so you just need to make sure you are linking them correctly.

They don't. Most of them are system libraries (look at the list above), the libraries that you explictely link only represent 2 or 3 items in the list usually.

Note that you can download PDB files for system libraries, but it's rarely useful ;)
Laurent Gomila - SFML developer

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
Cannot find or open the PDB file
« Reply #5 on: August 23, 2011, 05:27:46 pm »
Oh right, it's probably because I have pretty much every MS debugging tool and SDK under the sun installed.
SFML 2.1