cocos2dx make ***no rule to make target ....x.cpp needed by obj/..../xx.o .stop
来源:互联网 发布:淘宝用imei找到手机 编辑:程序博客网 时间:2024/06/05 11:50
cocos2d-x 遇到的错误与解决方法。make: *** No rule to make target `/cygdrive/d/android/cocos2d-x-master/T12/proj.android/../../cocos2dx/xxxxx.cpp', needed by `obj/local/armeabi/objs/cocos2dx_static/xxxxx.o'. Stop.
cocos2d-x 遇到的错误与解决方法。make: *** No rule to make target `/cygdrive/d/android/cocos2d-x-master/T12/proj.android/../../cocos2dx/xxxxx.cpp', needed by `obj/local/armeabi/objs/cocos2dx_static/xxxxx.o'. Stop.
解决方法:
用记事本编辑 proj.android\jni\Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := hellocpp_shared
LOCAL_MODULE_FILENAME := libhellocpp
LOCAL_SRC_FILES := hellocpp/main.cpp \
../../Classes/AppDelegate.cpp \
../../Classes/HelloWorldScene.cpp \
../../Classes/Actor.cpp \
../../Classes/xxxxx.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
include $(BUILD_SHARED_LIBRARY)
$(call import-module,cocos2dx)
一定要确定 ../../Classes/xxxxx.cpp 文件名没有写错。
- cocos2dx make ***no rule to make target ....x.cpp needed by obj/..../xx.o .stop
- make: *** No rule to make target ' ', needed by ' '. 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
- Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- *** No rule to make target `xxx1', needed by `xxx2'. Stop
- 解决No “rule to make target `../Database/images/login.png', needed by `debug/qrc_image.cpp'. Stop.”
- 解决No “rule to make target `../skin_test.qss', needed by `debug/qrc_resource.cpp'. Stop.”
- Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
- make: *** No rule to make target `build', needed by `default'. Stop.
- Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
- nginx 安装时候报错:make: *** No rule to make target `build', needed by `default'. Stop.
- make: * No rule to make target '/native.c', needed by '/android/workspace/NDKTest/obj/l
- android ndk make: * No rule to make target '/', needed by '/android/workspace/NDKTest/obj/解决办法
- 编译openssl报错 No rule to make target `../include/openssl/bio.h', needed by `cryptlib.o'. Stop
- make: *** No rule to make target `persistent_processor.o', needed by `db_auditor
- u-boot 編譯時錯誤No rule to make target `hello_world.srec', needed by `all'. Stop
- error: No rule to make target `XXXX.ui', needed by 'ui_XXX.h' Stop
- dllmain
- Oracle专用服务器与共享服务器的区别
- PHP发现之旅-1
- slab memory的错误类型(2)
- java.nio.ByteBuffer 以及flip,clear及rewind区别
- cocos2dx make ***no rule to make target ....x.cpp needed by obj/..../xx.o .stop
- mysql监测工具tuning-primer.sh
- printf 格式化 (备忘)
- 女孩子应该体谅男人的十个地方
- ubuntu 12.10下查看网卡的流量速度
- list - sort
- 电路与电路史(3~4)
- 使用函数创建JavaScript的类和对象
- QTP Excel函数