Please bear with me as I am completely new to this. Just trying to go through the tutorial but I get errors when I try to build the Cocos2dxSimpleGame in VS2010.
-
Copied the “Cocos2dxSimpleGame” sub folder from the unzipped files into the root of my C:2d-x folder
-
Created a Cocos2dxSimpleGame.win32 solution as specified in the tutorial (http://cocos2d-x.org/projects/cocos2d-x/wiki/Tutorials) with all proper dependencies
-
Building the project gives me the following errors (just listing the first few)
c:2d-x\cocos2dxsimplegame\classes\helloworldscene.h(24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:2d-x\cocos2dxsimplegame\classes\helloworldscene.h(24): warning C4183: ‘LAYER_NODE_FUNC’: missing return type; assumed to be a member function returning ‘int’
c:2d-x\cocos2dxsimplegame\classes\helloworldscene.h(28): error C2039: ‘ccTime’ : is not a member of ‘cocos2d’
c:2d-x\cocos2dxsimplegame\classes\helloworldscene.h(28): error C2061: syntax error : identifier ‘ccTime’
c:2d-x\cocos2dxsimplegame\classes\helloworldscene.h(30): error C2039: ‘ccTime’ : is not a member of ‘cocos2d’