首页 > 代码库 > Eclipse下NDK编译错误之No rule to make target

Eclipse下NDK编译错误之No rule to make target

错误表现:

make.exe: *** No rule to make target `/cygdrive/f/Games2014/ThumbelinaCell/projects/ThumbelinaCell/proj.android/../../../extensions/AssetsManager/AssetsManager.cpp‘, needed by `obj/local/armeabi/objs/cocos_extension_static/AssetsManager/AssetsManager.o‘.  Stop.

办法:

删除projec.andriod 下的两个文件夹, obj和libs即可。

错误原因很可能是:

makefile里面的文件依赖关系有问题,导致头文件找不到。


本文出自 “青峰” 博客,请务必保留此出处http://zhuxianzhong.blog.51cto.com/157061/1575430

Eclipse下NDK编译错误之No rule to make target