cocosをgitでcloneしてsetup.pyを実行した後に、
以下のようなエラーが出た
$ cocos new -l lua
> Copy template into /Users/tanishi/projects/MyLuaGame
> Replace the project name from 'HelloLua' to 'MyLuaGame'
> Copying directory from cocos root directory...
[Errno 2] No such file or directory: '/Users/tanishi/projects/cocos2d-x/external/win32-specific/gles/prebuilt'
んで、git logでexternalの中身を確認してみたけど、
どうもconfig.jsonしか変更されていない
とりあえずsubmodule化してるかもしれないから
git submodule init
git submodule update
で更新
...
変わんない...
んでREADME.mdを確認してみるとやり方が
そのまま書いていた
Git user attention
-
Clone the repo from GitHub.
$ git clone https://github.com/cocos2d/cocos2d-x.git
-
After cloning the repo, please execute
download-deps.py
to download and install dependencies.$ cd cocos2d-x cocos2d-x $ python download-deps.py
-
After running
download-deps.py
.cocos2d-x $ git submodule update --init
ということで解決
説明書はちゃんと読もう