手写JSBinding, LNK2019问题

我自己写了一个C++的lib模块, 其中有引用cocos2dx的东西。
现在这个lib模块要给js调用。
新建一个jsbinding lib给这个c++ lib. (模仿jsb_cocos2dx_auto手写)
AppDelegate 引入这个addRegisterCallback。 编译通过, 但程序运行时报LNK2019错误, 如下:

Error 6 error LNK2019: unresolved external symbol “struct js_proxy * __cdecl js_get_or_create_proxy(struct JSContext *,class testDispatcher *)” (??$js_get_or_create_proxy@VtestDispatcher@@@@YAPAUjs_proxy@@PAUJSContext@@PAVtestDispatcher@@@Z) referenced in function “bool __cdecl js_test_testDispatcher_getInstance(struct JSContext *,unsigned int,class JS::Value *)” (?js_test_testDispatcher_getInstance@@YA_NPAUJSContext@@IPAVValue@JS@@@Z)

请问各位那里出错呀!