Errors while porting an app from windows to android

Hi , I have successfully run the “Step by Step Coos2dxSimpleGame Series” (http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Tutorials) in windows using visual c++. Now I want to port this project to an android device, Hence I copied the classes namely HelloWorld,AppDelegate and GameOverScene and their header files to Classes folder and the resources to /Resources folder. Then I have modified the android.mk file to include a new class called GameOverScene.cpp which is not present before .

Then I run ./build_native.sh . The error message is included in the snapshot. Is the process I am following correct?


native_error.PNG (52.9 KB)

Remove the HelloWorld:: in those lines.

For example:
@
void spriteMoveFinished(CCNode* sender);
@

instead of

@
void HelloWorld::spriteMoveFinished(CCNode* sender);
@