snmp VC6.0 编译error LNK2001: unresolved external symbol出错解决办法

error LNK2001: unresolved external symbol _SnmpUtilMemFree@4
error LNK2001: unresolved external symbol _SnmpMgrOidToStr@8
error LNK2001: unresolved external symbol _SnmpMgrRequest@20
error LNK2001: unresolved external symbol _SnmpMgrOpen@16
error LNK2001: unresolved external symbol _SnmpUtilMemReAlloc@8
error LNK2001: unresolved external symbol _SnmpMgrStrToOid@8
 
 

解决办法如下:

adding snmpapi.lib wsnmp32.lib mgmtapi.lib in:


Project ---> Project Settings ---> Link ---> Object/Library modules

你可能感兴趣的:(snmp VC6.0 编译error LNK2001: unresolved external symbol出错解决办法)