opencv_core2410.dll - 无法找到或打开PDB文件

时间:2014-11-25 07:52:24

标签: c++ opencv

这是我的代码:

#include<opencv\cv.h>
#include<opencv\highgui.h>
int main(){
    IplImage * image =  cvLoadImage("digital_image_processing.jpg");
    cvShowImage("Dung image", image);
    cvWaitKey(0);
    cvDestroyWindow("Dung image");

    return 0;
}

以下是visual studio 2010的输出

'MotionTracking.exe': Loaded 'C:\Users\Nguyen Van Dung\Documents\Visual Studio 2010\Projects\MotionTracking\Debug\MotionTracking.exe', Symbols loaded.
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Program Files (x86)\Norton AntiVirus\NortonData\21.1.0.18\Definitions\BASHDefs\20141118.001\UMEngx86.dll', Cannot find or open the PDB file
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\opencv_highgui2410.dll', Cannot find or open the PDB file
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Symbols loaded.
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Symbols loaded (source information stripped).
'MotionTracking.exe': Loaded 'C:\Windows\SysWOW64\opencv_core2410.dll', Cannot find or open the PDB file
The program '[3936] MotionTracking.exe: Native' has exited with code -1073741701 (0xc000007b).

我该如何解决错误?

1 个答案:

答案 0 :(得分:0)

这不是错误,opencv libs的pdb文件不随prebuild二进制文件一起提供。

(这意味着,您无法在调试时进入opencv代码)

如果需要,请从src重新编译opencv


哦,你再也不允许在2014年使用IplImages了!

请使用opencv的c ++ api,而不是弃用的c。