I am trying to make ndk-build work in Cygwin on windows. According to the NDK documentation (specifically INSTALL.htm), "NDK requires that GNU Make 3.81 or later be available for your development."
I have Gnu Make installed on my computer.
So far so good.
Inside Cygwin bash, I connected to the root directory of the Android NDK. Now, when I enter the following command (without parameters right now, to see if the command works):
$. / Ndk-build
ERROR: unable to find make program. Please install the Cygwin make package or define the GNUMAKE variable to point to it.
So, I'm trying to set the GNUMAKE variable, but no luck:
$ export GNUMAKE = '/ cygdrive / c \ Program Files \ GnuWin32 \ bin'
ERROR: the GNUMAKE variable is defined as an invalid name: / cygdrive / c \ Program Files \ GnuWin32 \ bin Correct it to point to a valid make executable (for example, usr / bin / make)
I even tried installing it in usr / bin / make, as it suggests, but with the same invalid name error.
Does anyone know how to solve this?
I am using Windows 7, NDK r5, Cygwin 1.7.1
android android-ndk cygwin makefile gnu-make
Oceanblue
source share