gpt4 book ai didi

CMake 无法从已安装的 Visual Studio 2015 中识别 C 编译器

转载 作者:行者123 更新时间:2023-12-05 00:58:18 24 4
gpt4 key购买 nike

我一直在尝试为 vtk 安装 CMake,但收到此错误消息:
The C compiler identification is unknown,The CXX compiler identification is unknown .

我正在使用 CMake 3.2.1、vtk 6.2.0 和 Visual Studio 2015。

Screenshot

最佳答案

如果有帮助,请看一下这个答案:
CMake does not find Visual C++ compiler

基本上 VS2015 默认不安装 Cx 编译器。在 VS2015 中创建 C++ 项目将强制 VS 下载必要的编译器。

关于CMake 无法从已安装的 Visual Studio 2015 中识别 C 编译器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32909628/

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