加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

编译cocosbuilder源码出错

发布时间:2020-12-14 19:27:57 所属栏目:百科 来源:网络整理
导读:This fatal: reference is not a tree: b51de15acb37d72719b03314771e4caa04e57a33 was quite annoying. I have made some initial fixes that will at least get you past getting all the proper submodules: 3351040 There is a multi-step process in or

Thisfatal: reference is not a tree: b51de15acb37d72719b03314771e4caa04e57a33was quite annoying.

I have made some initial fixes that will at least get you past getting all the proper submodules:
3351040

There is a multi-step process in order to make this work (detached HEAD) with the latest for tag “release-1.1-RC0”

1) Under the root directory of this repository,edit the “.gitmodules” with the following diffs:

diff --git a/.gitmodules b/.gitmodules
index 70efbcf..e61c729 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,12 +1,12 @@
 [submodule "CocosBuilder/libs/cocos2d-iphone"]
        path = CocosBuilder/libs/cocos2d-iphone
-       url = https://github.com/cocos2d/cocos2d-iphone.git
+       url = git://github.com/cocos2d/cocos2d-iphone-classic.git
 [submodule "CocosBuilder/libs/ssziparchive"]
        path = CocosBuilder/libs/ssziparchive
-       url = https://github.com/vlidholt/ssziparchive
+       url = git://github.com/vlidholt/ssziparchive
 [submodule "CocosBuilder/libs/Fragaria"]
        path = CocosBuilder/libs/Fragaria
-       url = https://github.com/vlidholt/Fragaria.git
+       url = git://github.com/vlidholt/Fragaria.git
 [submodule "Examples/CocosBuilderExample/libs/CCBReader"]
        path = Examples/CocosBuilderExample/libs/CCBReader
        url = git://github.com/cocos2d/CCBReader.git

2)$ cd CocosBuilder/libs/cocos2d-iphone
3)$ git checkout 9bd04c2286e32a8bc5ba90f85de1170b91d86d1f

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读