“Error: could not find a valid GNU Make executable” with Cygwin and NDK

别来无恙 提交于 2019-12-24 06:24:31

问题


I'm new to the NDK. (using Windows). I have downloaded cygwin and the NDK. I have unzipped the NDK in C:\. When I run cygwin I change to the NDK directory and I run the command

build/host-setup.sh

But I get:

Error: could not find a valid GNU Make executable.

I have downloaded GNU make 3.81 but still no luck.

What do I have to do with GNU Make? Do I have to put it in a special directory or add it to PATH?


回答1:


For anyone that comes across this, GNU make is not selected by default in the cygwin installer so when installing cygwin you have to select GNU Make as part of the install




回答2:


Is your NDK installed under c:\Program Files, if so maybe try moving it to a new path location that doesn't have any spaces in the path name



来源:https://stackoverflow.com/questions/2410749/error-could-not-find-a-valid-gnu-make-executable-with-cygwin-and-ndk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!