Hi all,
First of all, I would like to thanks all the developpers for their great work.
I followed this tutorial (http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started) to have a working env on win32 with visual express 2010 and eclipse for android.
However, I am facing a problem : I get 4 compilation errors:
Description Resource Path Location Type
Function ‘sharedApplication’ could not be resolved main.cpp /helloworldandroidtest/jni/helloworld line 35 Semantic Error
Function ‘sharedOpenGLView’ could not be resolved main.cpp /helloworldandroidtest/jni/helloworld line 28 Semantic Error
Method ‘run’ could not be resolved main.cpp /helloworldandroidtest/jni/helloworld line 35 Semantic Error
Method ‘setFrameWidthAndHeight’ could not be resolved main.cpp /helloworldandroidtest/jni/helloworld line 29 Semantic Error
In fact, it seems that CC_TARGET_PLATFORM is not well defined. The
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#include “android/CCEGLView_android.h”
is grayed under eclispe. With visual, I do not have this problem. The dedicated line for this compiler is well defined. Any idea ?