C++编译报错

.h文件如

#ifndef AOBIIMAGEHELPER_H
#define AOBIIMAGEHELPER_H
#include “base/CCRef.h”
#include “base/ccTypes.h”
#include “platform/CCImage.h”

NS_CC_BEGIN

class AobiImageHelper : public Ref
{
public:
AobiImageHelper();
~AobiImageHelper();
static AobiImageHelper* getInstance();

void initWithUrl(const std::string& imgUrl);
//获取某一像素的颜色值
Color4B getPixelColor(const Vec2& pos);

protected:
virtual bool init();
private:
Image *curImage;
};

NS_CC_END

#endif

.cpp文件如
#include “aobi/AobiImageHelper.h”
#include “base/ccMacros.h”
#include

using namespace std;
NS_CC_BEGIN

static AobiImageHelper *instance = nullptr;

AobiImageHelper* AobiImageHelper::getInstance()
{
if (!instance){
instance = new (std::nothrow) AobiImageHelper();
CCASSERT(instance, “AobiImageHelper new Not enough memory”);
instance->init();
}
return instance;
}

AobiImageHelper::AobiImageHelper()
{

}

bool AobiImageHelper::init(void)
{
return true;
}

void AobiImageHelper::initWithUrl(const std::string& imgUrl){
if (curImage){
delete curImage;
}
curImage = new Image();
curImage->initWithImageFile(imgUrl);
}

Color4B AobiImageHelper::getPixelColor(const Vec2& pos){
Color4B color = { 0, 0, 0, 0 };
if (pos.x < 0 || pos.x >= curImage->getWidth() || pos.y < 0 || pos.y >= curImage->getHeight()) {
return color;
}
auto data = curImage->getData();
auto pixel = (unsigned int*)data;
auto x = (int)pos.x;
auto y = (int)pos.y;
pixel = pixel + (y * curImage->getWidth()) * 1 + x * 1;
//R通道
color.r = *pixel & 0xff;
//G通道
color.g = (*pixel >> 8) & 0xff;
//B通过
color.b = (*pixel >> 16) & 0xff;
//Alpha通道
color.a = (*pixel >> 24) & 0xff;
return color;
}

AobiImageHelper::~AobiImageHelper(void)
{
CCLOGINFO(“deallocing AobiImageHelper: %p”, this);
instance = nullptr;
}

NS_CC_END

这2个文件代码有问题吗编译报错
error LNK2019