Cannot find or open the PDB file

来源:互联网 发布:淘宝在哪看总消费金额 编辑:程序博客网 时间:2024/05/16 17:49

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 0
原创粉丝点击