make: *** No rule to make target jni/../../../Classes/HelloWorldScene.cpp', needed byobj/local/armeabi/objs-debug/cocos2dcpp_shared////Classes/HelloWorldScene.oā. Stop.
make: *** Waiting for unfinished jobsā¦
[armeabi] Compile++ thumb: cocos2dcpp_shared <= AppDelegate.cpp
jni/ā¦/ā¦/ā¦/Classes/AppDelegate.cpp: In member function āvirtual bool AppDelegate::applicationDidFinishLaunching()ā:
jni/ā¦/ā¦/ā¦/Classes/AppDelegate.cpp:22:18: error: ācreateā is not a member of ācocos2d::GLViewā
glview = GLView::create(āMy Gameā);
^
At global scope:
cc1plus: warning: unrecognized command line option ā-Wno-extern-c-compatā
cc1plus: warning: unrecognized command line option ā-Wno-extern-c-compatā
make: *** [obj/local/armeabi/objs-debug/cocos2dcpp_shared////Classes/AppDelegate.o] Error 1
make: Leaving directory `/Users/mihir/Desktop/finaltest/proj.androidā
Error running command, return code: 2.
And my android.mk file is -
LOCAL_SRC_FILES := hellocpp/main.cpp \
../../../Classes/AppDelegate.cpp \
../../../Classes/HelloWorldScene.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../Classes
I have tried sdk tool 26.0.2 and 25.0.0 ndk r10e r14b r15b and literally every new version of cocos apache ant 10 but this is the error message i get every time! Please help me! I am new to cocos