问题描述
我下面的步骤在http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/comment-page-2/#comment-32553安装NDK使用Cygwin和月食。
我安装了所有必需的包和软件,包括Cygwin的,的GnuWin32,GCC,make和Android的NDK。然后,我创建了一个测试Android项目,ndkfoo。有一次,我键入 / cygdrive / C / Android版/ Android的NDK / NDK的构建
,我收到以下错误消息,见不到底。我猜有什么毛病我路径设置,但我也不怎么进行更改。在这个例子中,从控制台的第一行应该看起来像编译拇指:ndkfoo< = /cygdrive/c/Users/workspace/ndkfoo.c
有没有人有一个线索,我应该开始?非常感谢。
编译大拇指:ndkfoo< = ndkfoo.c
臂Linux的androideabi-gcc.exe:C:/Users/workspace/ndkfoo/obj/local/armeabi/objs/ndkfoo/ndkfoo.o:没有这样的文件或目录
在arm-linux的-androideabi-gcc.exe:没有输入文件
使:***`[/cygdrive/c/Users/workspace/ndkfoo/obj/local/armeabi/objs/ndkfoo/ndkfoo.o]错误1`
看起来问题出在你的make文件。您是否正在使用Windows路径有任何机会?
I am following the steps as in http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/comment-page-2/#comment-32553 to install ndk using cygwin and eclipse.
I installed all the required packages and software, including cygwin, gnuwin32, gcc, make, and android-ndk. Then I created a test android project, ndkfoo. Once I type /cygdrive/c/Android/android-ndk/ndk-build
, I get the following error messages, see the bottom. I am guessing there is something wrong with my path setting, but I do not how to make the change. In the example, the first line from the console should looks like "Compile thumb : ndkfoo <= /cygdrive/c/Users/workspace/ndkfoo.c"
Does anyone have a clue where I should start? Thanks a lot.
Compile thumb : ndkfoo <= ndkfoo.c
arm-linux-androideabi-gcc.exe: C:/Users/workspace/ndkfoo/obj/local/armeabi/objs/ndkfoo/ndkfoo.o: No such file or directory
arm-linux-androideabi-gcc.exe: no input files
make: *** `[/cygdrive/c/Users/workspace/ndkfoo/obj/local/armeabi/objs/ndkfoo/ndkfoo.o] Error 1`
Looks like the problem is in your make file. Are you using Windows paths there by any chance?
这篇关于在Cygwin的NDK的构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!