Windows Phone Porting

i call this way…
in MenuScene.cpp

void MenuScene::Init(){

}

why the error become MenuScene is not a class or namespace;

in MenuScene.h already have
class MenuScene: public cocos2d::CCLayerColor
{
public:
//Init
virtual bool Init();
}

i get warning “skipped when looking for precompiled header use”…

i think it’s maybe cause that error…

any idea?

Try this one:

bool MenuScene::Init()
{
  /*

  */

return true;
}

thx for the comment…
it’s solve my problem…