I have developed a game in xcode using cocos2d-x 2.2.3 and box2d. Now i am trying to port from ios to android. However i am getting the following error while build through terminal.
In file included from jni/../../Classes/LevelScene.cpp:1:0:
jni/../../Classes/LevelScene.h:6:19: fatal error: Box2D.h: No such file or
directory
compilation terminated.
make: ***
[obj/local/armeabi/objs/cocos2dcpp_shared/__/__/Classes/LevelScene.o] Error 1
Please advice.
I just copied the files which is in box2d folder and placed in classes folder. It worked.