关于make: *** No rule to make target""问题总结

前端之家收集整理的这篇文章主要介绍了关于make: *** No rule to make target""问题总结前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

今天想编辑一下新写的一个小程序,结果maker的时候一直报错,一直提示错误


结果上网搜索解决方法,得出结论就是文件名或者路径不对,我自己又核对了半天


这个是我make文件内容

LOCAL_PATH:=$(callmy-dir)

include$(CLEAR_VARS)

$(callimport-add-path,$(LOCAL_PATH)/../../cocos2d)
$(callimport-add-path,$(LOCAL_PATH)/../../cocos2d/external)
$(callimport-add-path,$(LOCAL_PATH)/../../cocos2d/cocos)

LOCAL_MODULE:=cocos2dcpp_shared

LOCAL_MODULE_FILENAME:=libcocos2dcpp

LOCAL_SRC_FILES:=hellocpp/main.cpp\
../../Classes/GameScene11.cpp\
../../Classes/AppDelegate.cpp\
../../Classes/HelloWorldScene.cpp


LOCAL_C_INCLUDES:=$(LOCAL_PATH)/../../Classes

LOCAL_STATIC_LIBRARIES:=cocos2dx_static

include$(BUILD_SHARED_LIBRARY)

$(callimport-module,.)


这个是我文件的路径:


仔细看看哪里出问题了???



对了,就是我的GameScene11.cpp多了一个空格!



空格害死人啊 ,同志们!!!

猜你在找的Cocos2d-x相关文章