- 论坛徽章:
- 0
|
用gSOAP开发库写的程序编译出错,不知道是什么原因。
头文件:snmpInterface.h
#import "stl.h"
int ns__snmpGet(char* ipAddr, char* oidStr, char* *result);
int ns__snmpGetNext(char* ipAddr, char* baseOid, char* *result);
int ns__snmpSet(char* ipAddr, char* oidStr, char* setValue, char* *result);
int ns__snmpGetTable(char* ipAddr, std::vector<int> tableOid, char* *result);
编译出现错误:
fatal error C1083: Cannot open type library file: 'd:\gsoap\gsoap_src\gsoap-2.8\gsoap\import\stl.h': 加载类型库/DLL 时出错。
import目录已经加到工具的include目录中了,不知道什么原因。 |
|