【问题标题】:make: No rule to make target.Eclipse errormake: No rule to make target.Eclipse 错误
【发布时间】:2015-06-19 22:29:24
【问题描述】:

当我试图编译代码时,Eclipse 一直在抱怨make: * no rule to make target。这是它显示的内容:

make: *** No rule to make target
 `/Users/SCN/Documents/CMC/Working/flappypig/proj.android/../../../extensions/AssetsManager/AssetsManager.cpp', needed by `        `obj/local/armeabi/objs/cocos_extension_static/AssetsManager/AssetsManager.o'.  Stop.
make: Leaving directory ``/Users/himanshuarora/Desktop/cocos2d-x-2.2.6/projects/FlappyBird/proj.android'`

有人可以帮我解决这个问题吗?

【问题讨论】:

    标签: android c++ eclipse cocos2d-x


    【解决方案1】:

    好的。我修复了它。obj文件夹为cocos2d和box2d类保存了一些错误的路径。我删除了它的内容并重新编译了代码。它工作了。

    【讨论】:

    • 感谢您发布答案 (+1)。只是好奇为什么“干净的项目”,这应该是你的第一直觉没有理清。
    猜你喜欢
    • 2021-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-19
    • 2013-02-02
    • 1970-01-01
    • 2019-09-15
    • 2016-06-07
    • 1970-01-01
    相关资源
    最近更新 更多