windows CYGWIN 提供帮助

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4825317/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 16:05:03  来源:igfitidea点击:

CYGWIN Make help

c++windowsmakefilecygwin

提问by user593301

Hey guys I installed cygwin on my windows 7 just now With ALL THE PACKAGES (including make). But once i try to use the make command in cygwin it gives me error message: "bash: make: command not found". Wt is this? I deff installed all the packages that came with cygwin.

嘿伙计们,我刚刚在 Windows 7 上安装了 cygwin 以及所有软件包(包括 make)。但是,一旦我尝试在 cygwin 中使用 make 命令,它就会给我错误消息:“bash: make: command not found”。这是吗?我已经安装了 cygwin 附带的所有软件包。

回答by paxdiablo

I don't know whether Win7 is playing funnies with CygWin since I answered a questiona couple of days ago where it appeared to have removed a DLL.

我不知道 Win7 是否在玩 CygWin 的乐趣,因为我几天前回答了一个问题,它似乎删除了一个 DLL。

From the bashshell, execute echo $PATHand ensure that /binis in there somewhere.

bashshell 中,执行echo $PATH并确保它/bin在某处。

Make sure that you arerunning it from the CygWin bashshell rather than a cmd.exewindow.

确保您从 CygWin bashshell 而不是cmd.exe窗口运行它。

Check that make.exeexists under your \cygwin\bindirectory (assuming you installed in \cygwin).

检查make.exe您的\cygwin\bin目录下是否存在(假设您安装在\cygwin)。

If it's not there, re-install (by that, I mean rename the directory and do a full install again, notuse the reinstall from setup.exe) Check immediatelyafter the install to see if it's there.

如果它不存在,请重新安装(我的意思是重命名目录并再次进行完整安装,而不是使用从 重新安装setup.exe)安装后立即检查以查看它是否存在。

That's about all I can offer without further info. Let me know the results of those tasks and we can move on further if they don't pan out.

这就是我可以提供的所有信息,无需进一步的信息。让我知道这些任务的结果,如果它们没有成功,我们可以继续前进。

回答by thorsten müller

Don't know if that helps or is still actual, but I had (years ago, Win XP) similar problems. Then I installed Qt, which came with an option to install CygWin during the installation process. This installation worked without any problems.

不知道这是否有帮助或仍然存在,但我(多年前,Win XP)遇到过类似的问题。然后我安装了 Qt,它在安装过程中附带了一个安装 CygWin 的选项。此安装工作没有任何问题。

So if this is possible, maybe give a try going around your problems by simply letting the Qt installer handle it. (Even if you don't intend to use Qt)

因此,如果这是可能的,也许可以尝试通过简单地让 Qt 安装程序处理来解决您的问题。(即使你不打算使用 Qt)