compile++ thumb:game_shared <= main.cpp
jni/hellocpp/main.cpp:in function ' void Java_org_cocos2dx_lib_cocos2dxrenderer_nativeinit (jnienv*, Jobject, Jint, Jint) ':
Jni/hellocpp/main.cpp:25:10:error: ' Ccdirector ' have not been declared
Jni/hellocpp/main.cpp:27:9: Error: ' Cceglview ' is not declared in this scope
Jni/hellocpp/main.cpp:27:20:error: ' View ' is not declared in this scope
Jni/hellocpp/main.cpp:27:27:error: ' Cceglview ' is not a class or namespace
Jni/hellocpp/main.cpp:35:20:error: ' Ccdrawinit ' is not declared in this scope
Jni/hellocpp/main.cpp:36:34:error: ' Ccglinvalidatestatecache ' is not declared in this scope
Jni/hellocpp/main.cpp:38:9: Error: ' Ccshadercache ' have not been declared
Jni/hellocpp/main.cpp:39:9: Error: ' Cctexturecache ' have not been declared
Jni/hellocpp/main.cpp:40:9: Error: ' Ccnotificationcenter ' have not been declared
Jni/hellocpp/main.cpp:40:76:error: ' Evnet_come_to_foreground ' is not declared in this scope
Jni/hellocpp/main.cpp:41:9: Error: ' Ccdirector ' have not been declared
/cygdrive/e/android/ndk/android-ndk-r8e-windows-x86/android-ndk-r8e/build/core/build-binary.mk:272:recipe for Target ' OBJ/LOCAL/ARMEABI/OBJS/GAME_SHARED/HELLOCPP/MAIN.O ' failed
Make: * * * [OBJ/LOCAL/ARMEABI/OBJS/GAME_SHARED/HELLOCPP/MAIN.O] Error 1
Make: Leave directory "/cygdrive/d/mycoder/trunk/cocos2d-x/cocos2d-2.1rc0-x-2.1.2-hotfix/cocos2d-2.1rc0-x-2.1.2/testpppp/ Proj.android "
At compile time, due to the deletion of #include "HelloWorldScene.h" in Main.cpp, the above errors were not included in the inclusion of # "Cocos2d.h".
You can add # include "Cocos2d.h" to the main.cpp directly.
Compile is report error: ' Evnet_come_to_foreground ' is not declared in this scope