Chinaunix首页 | 论坛 | 博客
  • 博客访问: 817241
  • 博文数量: 117
  • 博客积分: 2583
  • 博客等级: 少校
  • 技术积分: 1953
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-06 22:58
个人简介

Coder

文章分类
文章存档

2013年(1)

2012年(10)

2011年(12)

2010年(77)

2009年(13)

2008年(4)

分类: C/C++

2011-09-03 07:55:34

ndk-build – “ERROR: You are using a non-Cygwin compatible Make program.”

“ERROR: You are using a non-Cygwin compatible Make program.
Currently using: C:/cygwin/bin/make

To solve the issue, follow these steps:

1. Ensure that the Cygwin ‘make’ package is installed.
   NOTE: You will need GNU Make 3.81 or later!

2. Define the GNUMAKE environment variable to point to it, as in:

     export GNUMAKE=/usr/bin/make

3. Call ‘ndk-build’ again.”

If the ‘make’ is installed, this error probably stems from a bug. You need to move your ndk to a folder that does not have spaces in the path as well as your project.

For example:
from
C:\Program Files\Android\android-ndk-r5c
to
C:\Android\android-ndk-r5c

Then define the GNUMAKE environment variable as described in the error message text.


原文链接:

阅读(3932) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~