No rule to make target cocos2dcocoseditor-supportcocostudioCCActionFrame.cpp

No rule to make target cocos2dcocoseditor-supportcocostudioCCActionFrame.cpp,第1张

概述我这边引起此 *** 作的原因是:把工程依赖的引擎替换了一下,但不是一个全新的引擎,而是从其他项目下直接完整拷过来替换的。 然后再执行cocos compile -p android命令编译就出现了如下的问题: No rule to make target cocos2d/cocos/editor-support/cocostudio/CCActionFrame.cpp 其他人那里出现的跟我这不大一样,是

我这边引起此 *** 作的原因是:把工程依赖的引擎替换了一下,但不是一个全新的引擎,而是从其他项目下直接完整拷过来替换的。

然后再执行cocos compile -p androID命令编译就出现了如下的问题:

No rule to make target cocos2d/cocos/editor-support/cocostudio/CCActionFrame.cpp

其他人那里出现的跟我这不大一样,是提示:

error: undefined reference to 'curl_easy_init'error: undefined reference to 'curl_easy_perform'error: undefined reference to 'curl_easy_cleanup'

解决方法如下:

比如我的工程是test,删掉test/proj.androID/obj下面的local文件就可以了。以上两种问题都好了。


反思:

后面想来在替换调依赖的工程时,应该clean一下的,所以删除local文件夹其实执行的就是一个clean *** 作。


参考:

cocos2d-x论坛关于此问题的讨论

总结

以上是内存溢出为你收集整理的No rule to make target cocos2d/cocos/editor-support/cocostudio/CCActionFrame.cpp全部内容,希望文章能够帮你解决No rule to make target cocos2d/cocos/editor-support/cocostudio/CCActionFrame.cpp所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1083669.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-27
下一篇 2022-05-27

发表评论

登录后才能评论

评论列表(0条)

保存