Hi all,
I’m trying to port cocos2d game to android, but when i compile with build_native.sh it give me below error, could you help on this issue?
Thank you.
Compile*+ thumb : game_shared <= main.cpp
Compile*+ thumb : game_shared <= AppDelegate.cpp
Compile++ thumb : game_shared <= HelloWorldScene.cpp
jni/…/…/Classes/HelloWorldScene.cpp: In member function ‘virtual cocos2d::CCAffineTransform PhysicsSprite::nodeToParentTransform()’:
jni/…/…/Classes/HelloWorldScene.cpp:48:14: error: ‘m_tAnchorPointInPoints’ was not declared in this scope
jni/…/…/Classes/HelloWorldScene.cpp:57:11: error: ‘m_tAnchorPointInPoints’ was not declared in this scope
jni/…/…/Classes/HelloWorldScene.cpp:63:5: error: ‘m_tTransform’ was not declared in this scope
make: * [obj/local/armeabi/objs/game_shared///Classes/HelloWorldScene.o] Error 1