gpt4 book ai didi

c++ - VS 2013 OpenCV 错误 : Cannot find or open the PDB file

转载 作者:可可西里 更新时间:2023-11-01 11:30:19 25 4
gpt4 key购买 nike

当我编译一个 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.

最佳答案

哦,这个问题在这里经常被回答..

首先,这没有错误。这是一个警告。 预构建 opencv 库确实没有 pdb 文件(dl 大小)。

因此,您仍然可以运行/调试您自己的代码,但您不能在调试时深入到 opencv 库中。

再一次,没有错误。如果您仍然需要该功能,则必须使用 cmake 在本地重建 opencv,这也会生成那些 pdb 文件。

关于c++ - VS 2013 OpenCV 错误 : Cannot find or open the PDB file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21918816/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com