为Cygwin构建CMAKE [英] Building CMAKE for cygwin

查看:66
本文介绍了为Cygwin构建CMAKE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次同时使用Cygwin和 cmake ,我正在尝试构建一个项目,但一直出错.

This is my first time using both Cygwin and cmake, I'm trying to build a project but keep getting errors.

-bash: /usr/local/bin/cmake: cannot execute binary file

我的问题是,应该在哪里安装 cmake 以及如何运行它?

The questions I have are, where should cmake be installed and how do I run it?

我的源代码应该在哪里?

Where should my source code be?

我是否需要其他任何东西才能使 cmake 在Cygwin中工作?

Do I need anything extra to get cmake to work in Cygwin?

以下是我要运行的项目的链接:( https://github.com/erinaceous/shadows )

Here is a link to the project I am trying to run: (https://github.com/erinaceous/shadows)

推荐答案

cmake 在Cygwin网络发行版中可用.您可以使用 setup-x86 * .exe 进行安装;您应该在开发类别下找到它.

cmake is available in the Cygwin net distribution. You can install it with setup-x86*.exe; you should find it under the Devel category.

这篇关于为Cygwin构建CMAKE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆