VS2010里的"Cannot find or open the PDB file"错误
江户川柯南 2012-07-21 11:26:12 以下是我的程序:
#include "highgui.h"
int main()
{
IplImage* img = cvLoadImage("D:\Documents\Pictures\wolfsrain0.png");
cvNamedWindow("Example1", CV_WINDOW_AUTOSIZE);
cvShowImage("Example1", img);
cvWaitKey(0);
cvReleaseImage(&img);
cvDestroyWindow("Example1");
}
这段程序是抄的《learning opencv》里的,用于从磁盘加载并在屏幕上显示一幅图像。
但我运行之后显示出来的图像是一片灰白,在下方的output里有如下报错信息:
'test.exe': Loaded 'D:\Documents\Visual Studio 2010\Projects\test\Debug\test.exe', Symbols loaded.
'test.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file
'test.exe': Loaded 'D:\OpenCV\opencv\build\x86\vc10\bin\opencv_highgui231d.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\lpk.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\usp10.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\ole32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\oleaut32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\advapi32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\sechost.dll', Cannot find or open the PDB file
'test.exe': Loaded 'D:\OpenCV\opencv\build\x86\vc10\bin\opencv_core231d.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\msvcp100d.dll', Symbols loaded.
'test.exe': Loaded 'C:\Windows\System32\msvcr100d.dll', Symbols loaded.
'test.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
'test.exe': Loaded 'C:\Windows\System32\avifil32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\winmm.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\msacm32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\msvfw32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\shell32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\shlwapi.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\avicap32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\version.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\imm32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\msctf.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\cryptbase.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\uxtheme.dll', Cannot find or open the PDB file
'test.exe': Loaded 'D:\360\360Safe\safemon\safemon.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\psapi.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\wininet.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\normaliz.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\iertutil.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\urlmon.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\ws2_32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\nsi.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\dwmapi.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\System32\clbcatq.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x1fc8) has exited with code -1073741510 (0xc000013a).
The program '[7400] test.exe: Native' has exited with code -1073741510 (0xc000013a).
请问错误在哪里?