VC++6.0 出现程序执行 link.exe 时出错.
Test.obj:errorLNK2001:unresolvedexternalsymbol"int__cdeclMQTTAsync_connect(void*,stru...
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_connect(void *,struct MQTTAsync_connectOptions *)" (?MQTTAsync_connect@@YAHPAXPAUMQTTAsync_connectOptions@@@Z)
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_disconnect(void *,struct MQTTAsync_disconnectOptions *)" (?MQTTAsync_disconnect@@YAHPAXPAUMQTTAsync_disconnectOptions@@@Z)
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_sendMessage(void *,char *,struct MQTTAsync_message *,struct MQTTAsync_responseOptions *)" (?MQTTAsync_sendMessage@@YAHPAXPADPAUMQTTAsync_message@@PAUMQTTAsync_responseOption
s@@@Z)
Test.obj : error LNK2001: unresolved external symbol "void __cdecl MQTTAsync_destroy(void * *)" (?MQTTAsync_destroy@@YAXPAPAX@Z)
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_setCallbacks(void *,void *,void (__cdecl*)(void *,char *),int (__cdecl*)(void *,char *,int,struct MQTTAsync_message *),void (__cdecl*)(void *,int))" (?MQTTAsync_setCallbacks
@@YAHPAX0P6AX0PAD@ZP6AH01HPAUMQTTAsync_message@@@ZP6AX0H@Z@Z)
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_create(void * *,char *,char *,int,void *)" (?MQTTAsync_create@@YAHPAPAXPAD1HPAX@Z)
Debug/Test.exe : fatal error LNK1120: 6 unresolved externals 展开
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_disconnect(void *,struct MQTTAsync_disconnectOptions *)" (?MQTTAsync_disconnect@@YAHPAXPAUMQTTAsync_disconnectOptions@@@Z)
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_sendMessage(void *,char *,struct MQTTAsync_message *,struct MQTTAsync_responseOptions *)" (?MQTTAsync_sendMessage@@YAHPAXPADPAUMQTTAsync_message@@PAUMQTTAsync_responseOption
s@@@Z)
Test.obj : error LNK2001: unresolved external symbol "void __cdecl MQTTAsync_destroy(void * *)" (?MQTTAsync_destroy@@YAXPAPAX@Z)
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_setCallbacks(void *,void *,void (__cdecl*)(void *,char *),int (__cdecl*)(void *,char *,int,struct MQTTAsync_message *),void (__cdecl*)(void *,int))" (?MQTTAsync_setCallbacks
@@YAHPAX0P6AX0PAD@ZP6AH01HPAUMQTTAsync_message@@@ZP6AX0H@Z@Z)
Test.obj : error LNK2001: unresolved external symbol "int __cdecl MQTTAsync_create(void * *,char *,char *,int,void *)" (?MQTTAsync_create@@YAHPAPAXPAD1HPAX@Z)
Debug/Test.exe : fatal error LNK1120: 6 unresolved externals 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询