Cannot find or open the PDB file Category: VC + + 2013-08-19 16:48 672 people Read reviews (0) Favorites report 2012OpenCVWindows debugging Win32 vs2012 The following occurs when you run the program: ' Surfmatch.exe ' (Win32): Loaded ' F:\OPENCV\CV image matching \CV match 6\surfmatch\release\surfmatch.exe '. Symbols loaded. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\ntdll.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\kernel32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\KernelBase.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' D:\opencvan\opencv\build\x86\vc10\bin\opencv_highgui244.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\user32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\gdi32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\lpk.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\WindoWs\syswow64\usp10.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\msvcrt.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\advapi32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\sechost.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\rpcrt4.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\sspicli.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\cryptbase.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\ole32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\oleaut32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' D:\opencvan\opencv\build\x86\vc10\bin\opencv_core244.dll '. Cannot find or open the PDB file. ' SurfmatCh.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\msvcp100.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\msvcr100.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_ 5.82.7601.17514_none_ec83dffa859149af\comctl32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\avifil32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\winmm.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\msacm32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\msvfw32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\shell32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\shlwapi.dll '. Cannot find or open the PDB file. ' SurfmAtch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\avicap32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\version.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' D:\opencvan\opencv\build\x86\vc10\bin\opencv_nonfree244.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' D:\opencvan\opencv\build\x86\vc10\bin\opencv_imgproc244.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' D:\opencvan\opencv\build\x86\vc10\bin\opencv_flann244.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' D:\opencvan\opencv\build\x86\vc10\bin\opencv_features2d244.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' D:\opencvan\opencv\build\x86\vc10\bin\opencv_calib3d244.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\msvcp110.dll '. Symbols loaded. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\msvcr110.dll '. SymboLS loaded. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\imm32.dll '. Cannot find or open the PDB file. ' Surfmatch.exe ' (Win32): Loaded ' C:\Windows\SysWOW64\msctf.dll '. Cannot find or open the PDB file. The program ' [3312] surfmatch.exe ' have exited with code-1 (0xFFFFFFFF).
Workaround:
1. Ctrl + F5 to run it.
2. Execute the program under the CMD command line.
3. Tick the "Microsoft Symbol Servers" (Symbols, Tools, Options, debugging). 4. http://blog.163.com/chenpeijie0_0/blog/static/1830945712011780275118 Reason: The program output is the system rather than the VS2010
Cannot find or open the PDB file