繁体   English   中英

无法使用cmake进行编译

[英]can't compile with cmake

几个小时后出现错误,我需要一些帮助。 我正在尝试编译duke,可在此处找到源: http : //opensource.mikrosimage.eu/duke.html

我下载了Cmake(除了python文件到pyc,我从未编译过其他任何东西)对我来说是一个新领域。

这来自错误日志:

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
The system cannot find the file specified


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
The system cannot find the file specified

我使用win 7 x64在我的PATH变量中添加了cmake,我也尝试输入模块和编译器的路径,但仍然遇到这些错误。

那么,我是否必须单独下载编译器,或者我做错了什么?

从INSTALL.md文件:

目前,Duke只能在Linux上编译。 MacOs版本正在开发中,Windows版本未经测试,目前可能尚未编译。 我们希望在不久的将来支持这三个平台。

和:

您需要一个C ++ 11编译器,已知Duke可以在GCC 4.7.1和更高版本上进行编译。

如果您感觉很勇敢,则可以安装提供了C ++编译器的Cygwin ,然后尝试从Cygwin终端进行构建。

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM