cmake - x64-windows 和 CMAKE_C_COMPILER CMAKE_CXX_COMPILER
问题描述
我正在构建 yolov3 暗网存储库。依赖项是 CMAKE、CUDA。我在 CMAKE_C_COMPILER 和 CMAKE_CXX_COMPILER 中遇到错误。
错误如下:
Error: Building package pthreads:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: pthreads:x64-windows
Vcpkg version: 2021-09-10-2059ef11aa6067e6f59b0d939c5d17e3c5c47d3e
Additionally, attach any relevant sections from the log files above.
-- Running vcpkg install - failed
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:829 (message):
vcpkg install failed. See logs for more information:
C:\Users\HP\Documents\Yolo1\darknet\build_release\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:103 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Config failed! Exited with error code 1.
Press any key to continue...
解决方案
推荐阅读
- c# - Cosmos Insert 只能使用一次
- r - 从嵌套列表中提取列表标题作为变量
- node.js - 重用浏览器实例 puppeterr
- apache-spark - Spark DataFrame:如何在给定条件下为两行分配标签
- linux - 对目录中的所有文件执行命令的别名
- html - 应用 animate.css 之前的中心元素
- flutter - 我如何颤动 Firestore 循环查询
- python - “for i in alist”和“for i in range(len(alist))”有什么区别?
- angular - Angular 9 不产生 app.module.ngfactory
- java - 如何获取扩展 JPanel 以显示在另一个类 JPanel 中的类的实例?