Building Moon Warriors or TestJavascript

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.

Hi,
I had the same error when compiling the projects. CCPhysicsSprite.cpp has moved to ${COCOS2DX_ROOT}/extensions/physics_nodes so make sure you have the extensions module in MoonWarriors and TestJavascript make files set