[英]VS 2013 OpenCV Error: Cannot find or open the PDB file
When i'm compilling an opencv example project, I have such error: 当我正在编写一个opencv示例项目时,我有这样的错误:
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_core248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_highgui248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_contrib248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_flann248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_imgproc248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_features2d248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_calib3d248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_ml248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_video248.dll'. Cannot find or open the PDB file.
'opencv2.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_objdetect248.dll'. Cannot find or open the PDB file.
oh, this has been answered soo often here .. 哦,经常在这里经常回答..
first, this is no error. 首先,这不是错误。 it's a warning.
这是一个警告。 the prebuilt opencv libs indeed come without pdb files (dl size).
预建的 opencv库确实没有pdb文件(dl大小)。
so, you can still run / debug your own code , but you can't dive into the opencv libs while debugging. 所以,您仍然可以运行/调试自己的代码 ,但在调试时无法深入了解opencv库。
again, no error. 再次,没有错误。 if you still need that feature, you'll have to rebuild opencv locally using cmake, this will generate those pdb files, too.
如果您仍然需要该功能,则必须使用cmake在本地重建opencv,这也将生成这些pdb文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.