I try to create a project with two classes
class HelloWorld : public cocos2d::CCLayer
class CatSprite : public cocos2d::CCSprite
But when I try to compile, I receive the foloowing error:
CatSprite.h:33: error: HelloWorld has not been declared.
What am I doing wrong? I have no idea.
I’ll be very gratefull if someone can help.
I try to use cocos2d-x 2.0.4 and 2.0.3.
Compile against eclipse and xcode, and receive the same error.