【发布时间】:2021-11-19 19:45:06
【问题描述】:
我正在按照教程使用 CMake for C++ 配置 OpenCV 和 Visual Studio。 当我在调试模式下在 CMakeTargets 下构建“All Build”时,出现错误
LNK1104 cannot open file 'python37_d.lib'
我无法在互联网/谷歌上找到任何解决方案。
【问题讨论】:
标签: c++ visual-studio opencv cmake
我正在按照教程使用 CMake for C++ 配置 OpenCV 和 Visual Studio。 当我在调试模式下在 CMakeTargets 下构建“All Build”时,出现错误
LNK1104 cannot open file 'python37_d.lib'
我无法在互联网/谷歌上找到任何解决方案。
【问题讨论】:
标签: c++ visual-studio opencv cmake
python 中没有 python37_d.lib 这样的东西
(你只能在 RELEASE 模式下构建 opencv python 绑定)
((如果你真的想要这个,它需要在调试模式下从 src 构建你的 python ))
【讨论】: