Cannot find or open the PDB file

Cannot find or open the PDB file

今天在VS2010中编译一个工程,出现了如下的错误提示:

‘XXX.exe’: Loaded ‘C:\Windows\System32\ntdll.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\kernel32.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\KernelBase.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Users\Superwcq\Desktop\TCPIP\LTE_V\VideoMFC\Debug\opencv_core249d.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Users\Superwcq\Desktop\TCPIP\LTE_V\VideoMFC\Debug\msvcp100d.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Users\Superwcq\Desktop\TCPIP\LTE_V\VideoMFC\Debug\msvcr100d.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Users\Superwcq\Desktop\TCPIP\LTE_V\VideoMFC\Debug\opencv_highgui249d.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\user32.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\gdi32.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\lpk.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\usp10.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\msvcrt.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\ole32.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\rpcrt4.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\oleaut32.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\advapi32.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\sechost.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18837_none_ec86b8d6858ec0bc\comctl32.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\avifil32.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\winmm.dll’, Cannot find or open the PDB file
‘XXX.exe’: Loaded ‘C:\Windows\System32\msacm32.dll’, Cannot find or open the PDB file
…………
…………….
………..
The program ‘[6872]XXX.exe: Native’ has exited with code 0 (0x0).

根据网上的解决方法

1、选择 Tools->Options…

2、找到 Debugging -> Symbols 选中 Microsoft Symbol Servers 然后点 OK

3、再次编译刚才的程序,此时编译很慢,耐心等待,这时是不是就没有原来的Cannot find or open the PDB file信息了

4、然后再打开刚才的界面把Microsoft Symbol Servers取消选中,要是不去,每次都要从Microsoft下载.

尝试了下,没有很好的解决这个问题,但是,还是存在这两个Cannot find or open the PDB file的信息:

Loaded ‘C:\Users\Superwcq\Desktop\TCPIP\LTE_V\VideoMFC\Debug\opencv_core249d.dll’, Cannot find or open the PDB file

Loaded ‘C:\Users\Superwcq\Desktop\TCPIP\LTE_V\VideoMFC\Debug\opencv_highgui249d.dll’, Cannot find or open the PDB file。

网上也有很多小伙伴和我一样出现了同样的问题,但是,并没有给出很好的解决方法。

但是这并不影响了程序的运行。

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值