2013-04-11 43 views
0

,當我在OpenCV的C運行我的程序++ Visual Studio 2010中運行的程序,但我會顯示以下錯誤的,這個錯誤是什麼要更多進一步的安裝?VS 2010顯示錯誤,但運行程序

'WK01.exe': Loaded 'C:\Users\Sheikh\Documents\Visual Studio 2010\Projects\WK01\Debug\WK01.exe', Symbols loaded. 
'WK01.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Program Files\Alwil Software\Avast5\snxhk.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\opencv_core244d.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\msvcp100d.dll', Symbols loaded. 
'WK01.exe': Loaded 'C:\Windows\System32\msvcr100d.dll', Symbols loaded. 
'WK01.exe': Loaded 'C:\Windows\System32\opencv_highgui244d.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\lpk.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\usp10.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\ole32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\oleaut32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\advapi32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\sechost.dll', Cannot find or open the PDB file 
'WK01.exe': 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 
'WK01.exe': Loaded 'C:\Windows\System32\avifil32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\winmm.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\msacm32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\msvfw32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\shell32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\shlwapi.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\avicap32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\version.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\imm32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\msctf.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\opencv_ffmpeg244.dll', Binary was not built with debug information. 
'WK01.exe': Loaded 'C:\Windows\System32\wsock32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\ws2_32.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\nsi.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\cryptbase.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\uxtheme.dll', Cannot find or open the PDB file 
'WK01.exe': Loaded 'C:\Windows\System32\dwmapi.dll', Cannot find or open the PDB file 
The program '[4156] WK01.exe: Native' has exited with code 0 (0x0). 

回答

0

這些不是錯誤,它們只是來自調試器的信息性消息。

當在調試模式下(和可選地在發佈模式下)編譯程序時,還會生成.pdb文件,該文件將源代碼中的函數名稱和變量名稱與編譯代碼中的相應位置相關聯。這是Visual Studio中使用,你通過程序步驟,以顯示你的源代碼和變量值這一信息。

這裏發生的一切就是您的程序正在調試器中運行,並且正在加載系統DLL和其他沒有.pdb文件的模塊,因此它會告訴您它將無法顯示等效的源代碼爲這些模塊。

總結。這很正常,不是錯誤。

相關問題