【问题标题】:issue in cygwin error like non-cygwin compatible make program?cygwin 错误中的问题,如非 cygwin 兼容的 make 程序?
【发布时间】:2017-10-12 18:42:09
【问题描述】:

我的问题是当我尝试在 cygwin 和 android-ndk 的帮助下编译我的 ocr 代码时。然后它显示非 cygwin 兼容的 make 程序错误。

当我在 cygwin 上写这个命令时:

/cygdrive/c/android-ndk-r6b/ndk-build

然后它显示如下错误:

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

To solve the issue , follow this steps :

1. Ensure that the Cygwin 'make' package is installed.
Note : You will nedd 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.

我没有在路径中使用任何空格意味着我的 android-ndk 路径是“C:/android-ndk-r6b”,因此它不包含任何空格。

【问题讨论】:

  • 这个问题和空格有什么关系?

标签: cygwin ocr


【解决方案1】:

这里是在黑暗中拍摄,但您是否真的尝试过按照建议定义 GNUMAKE 变量?

cd /cygdrive/c/android-ndk-r6b
export GNUMAKE=/usr/bin/make
./ndk-build

【讨论】:

    猜你喜欢
    • 2016-08-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多