编译Coco2d-x android 程序出现make: *** No rule to make target ...CCConfiguration.o'. Stop.
来源:互联网 发布:高桥和希 知乎 编辑:程序博客网 时间:2024/06/13 10:04
在eclipse中编译cocos2d-x的项目可能出现这个问题。也许是你对项目没有clean,然后就让他编译造成的。
具体错误可能显示为:
make: *** No rule to make target `/cygdrive/d/android/cocos2d-x-master/T12/proj.android/../../cocos2dx/CCConfiguration.cpp', needed by `obj/local/armeabi/objs/cocos2dx_static/CCConfiguration.o'. Stop.
从这个问题可以看出,可能跟CCConfiguration.o有关,那么找到这个文件,怎么找呢?
直接在cocos2d-x根目录搜索吧。(我安装在D:\AndroidDev\cocos2d-2.0-x-2.0.4)
好,找到了,发现在
D:\AndroidDev\cocos2d-2.0-x-2.0.4\cocos2d-2.0-x-2.0.4\Cocos2dxSimpleGame\proj.android\obj\local\armeabi
目录下有个objs-debug/cocos2dx_static文件夹。
进去正好有个CCConfiguration.o文件。从后缀名来看,这个肯定是编译中间文件(可以删除)。
而Make 的No rule to make target则一般说明是已经存在了,不用再编译。
所以我们把objs-debug文件夹下面的文件(包括文件夹)全删除。
再次在eclipse里面clean一下,就发现可以编译了。
- 编译Coco2d-x android 程序出现make: *** No rule to make target ...CCConfiguration.o'. Stop.
- 编译Coco2d-x android 程序出现make: *** No rule to make target ...CCConfiguration.o'. Stop.
- 编译Coco2d-x android 程序出现make: *** No rule to make target ...CCConfiguration.o'. Stop
- 编译Coco2d-x android 程序出现make: *** No rule to make target ...CCConfiguration.o'. Stop.
- Cocos2d-x:编译Coco2d-x android 程序出现make: *** No rule to make target ...CC*.o'. Stop.
- cocos2dx交叉编译报错No rule to make target...CCConfiguration.o.stop
- 出现make: *** No rule to make target `all'. Stop.解决办法
- cocos2dx make ***no rule to make target ....x.cpp needed by obj/..../xx.o .stop
- cygwin编译cocos项目报错:make: *** No rule to make target 。。xxx.o'. stop 解决
- nios ii 中编译出现make No rule to make target `Makefile'. Stop. CC++ Problem
- Android make: *** No rule to make target
- Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- make: *** No rule to make target ' ', needed by ' '. Stop.
- make: *** No rule to make target `clean'(archive). Stop.
- make: *** No rule to make target `all'. Stop.
- “make: *** No rule to make target `all'. Stop”的解决方案
- PowerPC DTS 移植
- 使用 GetOleDbSchemaTable 和 Visual C# .NET 检索架构信息
- 归并排序
- struts2 s select
- 重写equal 的同时为什么必须重写hashcode?
- 编译Coco2d-x android 程序出现make: *** No rule to make target ...CCConfiguration.o'. Stop.
- ANDROID入门3:在Ubuntu上为Android访问Linux内核驱动程序编写硬件抽象层(HAL)模块
- Qt教程一 —— 第六章:组装丰富的积木!
- C#数据类型转换中隐式转换要注意的几点
- Git 中文教程
- Google 图片搜索算法
- android的audio系统
- ANDROID入门4:在Ubuntu为Android硬件抽象层(HAL)模块编写JNI方法提供Java访问硬件服务接口
- squid TCP_HIT/504/000是怎么产生的