所以我正在尝试为 Android 构建 cocos2s-x HelloCpp 示例,并且遇到了这个问题。Eclipse 给我错误Program "" not found in path。是的,引号是空的。我不太确定程序指的是什么。如果我忽略该错误并尝试通过在 Cygwin 中运行 build_native.sh 来构建,则会出现错误:
当前使用:C:/cygwin64/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.
这让我很困惑,因为我确实安装了 GNU Make 工具