cocos2dx吧 关注:11,003贴子:33,714
  • 2回复贴,共1

希望大神帮看看,下面代码的错误,很短

取消只看楼主收藏回复

#ifndef _HELPLAYER_H
#define _HELPLAYER_H
#include "cocos2d.h"
USING_NS_CC;
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
using namespace ui;
using namespace cocostudio;
class HelpLayer : public Layer
{
public:
virtual bool init();
CREATE_FUNC(HelpLayer);
static Scene *createScene();
};
#endif


1楼2014-09-23 11:04回复
    static Scene *createScene();这一句一直提示,Scene不明确,可是头文件什么的都引入了,而且以前也没遇到过这里出错


    2楼2014-09-23 11:05
    回复
      2025-06-28 15:59:28
      广告
      在线等


      3楼2014-09-23 11:12
      回复