简体   繁体   English

Visual Studio 2017 'C:\\OpenCV-3.3.0\\opencv\\build\\x64\\vc14\\bin\\opencv_world330d.dll'。 无法找到或打开 PDB 文件

[英]Visual Studio 2017 'C:\OpenCV-3.3.0\opencv\build\x64\vc14\bin\opencv_world330d.dll'. Cannot find or open the PDB file

What should I do when I get this message?收到此消息后该怎么办?

(Win32): Loaded 'C:\\OpenCV-3.3.0\\opencv\\build\\x64\\vc14\\bin\\opencv_world330d.dll'. (Win32):加载“C:\\OpenCV-3.3.0\\opencv\\build\\x64\\vc14\\bin\\opencv_world330d.dll”。 Cannot find or open the PDB file.无法找到或打开 PDB 文件。

Not only in this file, but I get it in the others as well.不仅在这个文件中,我也在其他文件中得到了它。

PDB is for debugging with DLL library. PDB 用于使用 DLL 库进行调试。 Thinks are little bit complicated but one think you can ignore this.. The PDB is created when you are compile C/C++ program with /ZI or /Zi settings.认为有点复杂,但认为您可以忽略这一点。当您使用 /ZI 或 /Zi 设置编译 C/C++ 程序时,会创建 PDB。 It could happened when you compile wrong opencv program with wrong settings.当您使用错误的设置编译错误的 opencv 程序时,可能会发生这种情况。 I think also that version opencv 3.3.0 have not build for VC141 visual studio 2017, and your library are just VC140.我还认为 opencv 3.3.0 版本还没有为 VC141 Visual Studio 2017 构建,而您的库只是 VC140。 But not sure about this.但不确定这一点。

Well, now there is a smarter solution with opencv and with most of the c++ packages out there there is a package manager called vcpkg.好吧,现在有一个更智能的解决方案,opencv 和大多数 c++ 包都有一个名为 vcpkg 的包管理器。 vcpkg compiles the library from source. vcpkg 从源代码编译库。 Therefore you don't need to worry about compiler compatability.因此,您无需担心编译器兼容性。 So, installing opencv with vcpkg is as simple as vcpkg install opencv ( this install 32 bit version) For 64 bit version, it is as simple as vcpkg install opencv:x64-windows and with visual studio adding a library is something as simple as typing vcpkg intgrate install Consider using vcpkg for this https://github.com/microsoft/vcpkg因此,使用 vcpkg 安装 opencv 就像 vcpkg install opencv 一样简单(此安装 32 位版本)对于 64 位版本,就像 vcpkg install opencv:x64-windows 一样简单,并且使用 Visual Studio 添加库就像键入一样简单vcpkg intgrate install 考虑为此https://github.com/microsoft/vcpkg使用 vcpkg

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 openCV C ++ x64 vc14二进制文件 - openCV c++ x64 vc14 binary? opencv_world300d.dll”。 找不到或打开PDB文件 - opencv_world300d.dll'. Cannot find or open the PDB file C ++ OpenCV“无法找到或打开PDB文件”和“ Project2.exe中的(opencv_world310.dll):访问冲突读取位置 - C++ OpenCV “Cannot find or open PDB file” and "(opencv_world310.dll) in Project2.exe: Access violation reading location 在Visual Studio 2017上无法使用调试模式x64进行opencv3.2编译 - opencv3.2 compilation with debug mode x64 not possible on visual studio 2017 VS 2013 OpenCV错误:无法找到或打开PDB文件 - VS 2013 OpenCV Error: Cannot find or open the PDB file OpenCV 2.4.8。 从源安装不包含\\ Build \\ x64 \\ vc10 - OpenCV 2.4.8. Installation from source does not contain \Build\x64\vc10 使用调用堆栈没有.pdb文件的OpenCV 3 Visual Studio 2017调试 - OpenCV 3 Visual Studio 2017 debugging with call stack no .pdb files 错误:命令 'C:\\ Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe' 失败,退出状态为 2 - error: command 'C:\\ Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2 使用 Visual Studio 2015 运行 OpenCV 时无法打开视频文件 - OpenCV cannot open video file when run with Visual Studio 2015 错误:在Visual Studio中没有为opencv_world310.dll加载任何符号 - Error: No symbols loaded for opencv_world310.dll in Visual Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM