简体   繁体   中英

VS 2013 OpenCV Error: Cannot find or open the PDB file

When i'm compilling an opencv example project, I have such error:

'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).

so, you can still run / debug your own code , but you can't dive into the opencv libs while debugging.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM