2017-08-11 103 views
0

我想用CGAL框架,所以我试图用CMake的构建CGAL库, 但是当我选择的Visual Studio 2015年编译器,它显示了以下错误:cmake的:没有cmake_c_compiler可以发现

CMake error description

错误日志包含:

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.

回答

0

上次很远很远someone else had the same problem,因为它即使您安装Microsoft Visual Studio IDE似乎是,可能已经错过了安装构建工具的选项。

正如前面的答案所述,尝试创建一个新的C++项目,并在Visual Studio提示安装缺少的组件时,安装它们。应该再次工作。

还有this solution that may help you。祝你好运。

相关问题