在编译新的quick 3.2 rc1的player.exe时遇到error LNK2019 求解答

在编译新的quick 3.2 rc1的player.exe时遇到问题,求解:
我先在"quick\lib\extra下建立了mylib/MyLog.h,MyLog.c两个文件,文件内容如下:
MyLog.h:

#ifndef __MYLOG_
#define __MYLOG_


#include 
#include 


class MyLog{
public:
 static void logd(const char *str);
 static void loge(const char *str);
 static void logw(const char *str);
};


#endif

```


MyLog.cpp:

#include "MyLog.h"

void MyLog::logd(const char *str){
    HANDLE console;
    console = GetStdHandle(STD_OUTPUT_HANDLE);
    SetConsoleTextAttribute(console,MAKEWORD(1,0));
    printf(str);
    SetConsoleTextAttribute(console,MAKEWORD(7,0));
}

void MyLog::loge(const char *str){
    HANDLE console;
    console = GetStdHandle(STD_OUTPUT_HANDLE);
    SetConsoleTextAttribute(console,MAKEWORD(4,0));
    printf(str);    
    SetConsoleTextAttribute(console,MAKEWORD(7,0));
}

void MyLog::logw(const char *str){
    HANDLE console;
    console = GetStdHandle(STD_OUTPUT_HANDLE);
    SetConsoleTextAttribute(console,MAKEWORD(6,0));
    printf(str);
    SetConsoleTextAttribute(console,MAKEWORD(7,0));
}
```


然后,在luabinding/cocos2dx_extra_luabinding.tolua 头部添加:

$#include "mylib/MyLog.h"

尾部添加:

class MyLog
{
    static void logd(const char *str);
};

执行build.bat后,对player.exe重新编译报错如下:

2>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: 默认库“libcmtd.lib”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
2>libquick.lib(cocos2dx_extra_luabinding.obj) : error LNK2019: 无法解析的外部符号 "public: static void __cdecl MyLog::logd(char const *)" (?logd@MyLog@@SAXPBD@Z),该符号在函数 "int __cdecl tolua_cocos2dx_extra_luabinding_MyLog_logd00(struct lua_State *)" (?tolua_cocos2dx_extra_luabinding_MyLog_logd00@@YAHPAUlua_State@@@Z) 中被引用
2>D:\quick_cocos\quick-cocos2d-x-3.2rc1\quick\player\proj.win32\Debug\player3.exe : fatal error LNK1120: 1 个无法解析的外部命令
========== 生成: 成功 1 个,失败 1 个,最新 0 个,跳过 0 个 ==========

求助啊~

补充;现在通过将在luabinding/cocos2dx_extra_luabinding.tolua require的头文件换成cpp文件就好了,但是,在lua中取到的是空额~