Cannot find or open the PDB file

 

vs2012运行程序时出现以下的情况:

 

'surfmatch.exe' (Win32): Loaded 'F:\opencv\cv图像匹配\cv匹配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' has exited with code -1 (0xffffffff).

 

解决办法:

1. Ctrl + F5运行就可以了
2. 在cmd命令行下执行程序。

3. 把"Microsoft Symbol Servers"勾上(Tools -> Options -> Debugging -> Symbols).

4. http://blog.163.com/chenpeijie0_0/blog/static/1830945712011780275118

原因:程序输出的地方是系统而不是vs2010


 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值