I’m trying to build Moon Warriors or TestJavascript for Android and hitting an error. Is there something I’m missing in the process:
$ git clone https://github.com/cocos2d/cocos2d-x.git
$ cd cocos2d-x
$ git submodule update --init
$ cd samples/MoonWarriors/proj.android
$ ./build_native.sh
...
make: *** No rule to make target `/Users/ngs/cocos2d-x/samples/MoonWarriors/proj.android/../../../scripting/javascript/bindings/CCPhysicsSprite.cpp', needed by `obj/local/armeabi/objs-debug/scriptingcore-spidermonkey/CCPhysicsSprite.o'. Stop.
make: Leaving directory `/Users/ngs/cocos2d-x/samples/MoonWarriors/proj.android'
I can build and run other samples like HelloCpp but I get this error for the JS projects.
Thanks for any pointers.
Neil.