AppDelegate.cpp顯示未定義標識符HelloWorldLayer
#ifndef __helloworld__HelloWorldLayer__
#define __helloworld__HelloWorldLayer__
#include<iostream>
#include"cocos2d.h"
USING_NS_CC;
class HelloWorldLayer :public Layer
{
public:
static HelloWorldLayer * create();
virtual bool init();
};
#endif
以上是HelloWorldLayer.h
2018-12-27
將HelloWorldLayer.h文件所在位置路徑添加進項目屬性->C++>常規>附加包含目錄