Project didin't recognize HelloWorld Class

Hi,
I try to create a project with two classes
First:
HelloWorldScene.h

#include "cocos2d.h"
#include "CatSprite.h"
USING_NS_CC;

class HelloWorld : public cocos2d::CCLayer
{
public:
    CatSprite *_cat;

Second:
CatSprite.h

#include "cocos2d.h"
#include "HelloWorldScene.h"

USING_NS_CC;

class CatSprite : public cocos2d::CCSprite
{
public:

    //..some code
    HelloWorld *_layer;
    //..more code

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.