bash 如何在 Cocos2d 中安装 Cygwin make package 或定义 GNUMAKE 变量
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21260025/
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
How to install Cygwin make package or define the GNUMAKE variable to point in Cocos2d
提问by user2634966
I am trying apps with cocos2d on running it show the following error.How to solve this. Thank you
我正在尝试使用 cocos2d 运行的应用程序显示以下错误。如何解决这个问题。谢谢
**** Build of configuration Default for project TestCpp ****
bash D:/WorkSpaceOpengl/TestCpp/build_native.sh
cygwin warning:
MS-DOS style path detected: D:\WorkSpaceOpengl\TestCpp
Preferred POSIX equivalent is: /cygdrive/d/WorkSpaceOpengl/TestCpp
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
NDK_ROOT = D:\Android\android-ndk-r8e
COCOS2DX_ROOT = /cygdrive/d/WorkSpaceOpengl/TestCpp/../../../..
APP_ROOT = /cygdrive/d/WorkSpaceOpengl/TestCpp/..
APP_ANDROID_ROOT = /cygdrive/d/WorkSpaceOpengl/TestCpp
Using prebuilt externals
ERROR: Cannot find 'make' program. Please install Cygwin make package
or define the GNUMAKE variable to point to it.
**** Build Finished ****
I searched to install make in cygwin there are so many packages available. Which package is to be install that solve my issue? Here the link
我搜索在 cygwin 中安装 make 有很多可用的软件包。要安装哪个包来解决我的问题?这里的链接
回答by Driss Bounouar
For anyone else still struggling with this here's the steps to install make in cygwin :
对于仍在为此苦苦挣扎的其他人,这里是在 cygwin 中安装 make 的步骤:
- Run the cygwin installer from the downloads.
- After choosing the mirror you are shown the packages you can install.
- choose the Devel package (click on it it will turn from "Default" to "Install".
- when the installation is finish run the cmd and command "bash" and check if make installed run "make -v". And you are done.
- 从下载中运行 cygwin 安装程序。
- 选择镜像后,您将看到可以安装的软件包。
- 选择 Devel 包(点击它会从“默认”变成“安装”。
- 安装完成后,运行 cmd 和命令“bash”并检查是否已安装运行“make -v”。你已经完成了。
hope it's helpful.
希望它有帮助。