Android Cocos2d-x酱油笔记之cocos2d-x Cygwin编译 recipe for target `obj/**/XX.so' fail解决办法
2013-02-23 12:31
453 查看
在使用cygwin交叉编译cocos2d-x的工程文件时,明明工程没有其他错误,
但有时还是会出现 recipe for target `obj/**/XX.so' fail之类的错误
初入门时,遇到这些东西,常常无法适应,其实,这是由于NDK版本和cygwin版本的问题
cygwin官方使用的ndk版本有时会低于现在的ndk最新版本
解决这个问题,我们可以在该工程的/proj.android/jni中找到Application.mk文件
并添加如下内容:
否则,可以检查出错文件的权限,利用chmod 777 ./*修改
但有时还是会出现 recipe for target `obj/**/XX.so' fail之类的错误
初入门时,遇到这些东西,常常无法适应,其实,这是由于NDK版本和cygwin版本的问题
cygwin官方使用的ndk版本有时会低于现在的ndk最新版本
解决这个问题,我们可以在该工程的/proj.android/jni中找到Application.mk文件
并添加如下内容:
STLPORT_FORCE_REBUILD := true这样,通常情况下,工程便可以顺利进行交叉编译
否则,可以检查出错文件的权限,利用chmod 777 ./*修改
相关文章推荐
- cocos2d-x Cygwin编译:recipe for target "xxx/libcocos2d.so" fail解决办法
- cocos2d-x Cygwin编译 recipe for target `obj/local/armeabi/libcocos2d.so' fail解决办法
- Unable to resolve target 'android-XX'解决办法
- Android酱油笔记之关于AlertDialog的Unable to add window token null is not for an application解决办法
- Conversion to Dalvik format failed with error 1 Type Unable to resolve target 'android-7'的解决办法
- Unable to resolve target 'android-14' 解决办法
- 导入android项目出现:出现Unable to resolve target 'android-8'错误及其他的一些解决办法
- 两个C++编译错误及解决办法--does not name a type和field `XX' has incomplete type
- win7下用cygwin编译程序出现couldn't allocate heap,win32 error xxx错误的解决办法
- 关于搭载新版本SDK后,导入以前的工程出现Unable to resolve target 'android-6'的解决办法
- 编译错误“The run destination My Mac 64-bit is not valid for Running the scheme '***',解决办法
- cocos2d-x 编译android 发生undefined reference to `XX'错误
- 两个C++编译错误及解决办法--does not name a type和field `XX' has incomplete type
- [android] 出现 Unable to resolve target 'android-7'的解决办法
- 解决cygwin上编译boost for android 的thread库找不到"process.h"
- 【学习Android遇到的错误】Unable to resolve target 'android-9'解决办法
- Cocos2d-x:编译Coco2d-x android 程序出现make: *** No rule to make target ...CC*.o'. Stop.
- cocos2d-x发生undefined reference to `XX'异常 一劳永逸解决办法
- cygwin编译cocos项目报错:make: *** No rule to make target 。。xxx.o'. stop 解决
- android ndk make: * No rule to make target '/', needed by '/android/workspace/NDKTest/obj/解决办法