我写了使用gsoap v 2.8的hellow-world程序,并试图在Visual Studio 2010中进行编译。我想使用stl-vector功能。但也有指令gsoap:插入stlvector
#import "import/stlvector.h"
进口错误的错误:
error C1083: Cannot open type library file: 'r:\work\vs2010\xmlme\xmlme\import\stlvector.h' Error while loading library r:\work\vs2010\xmlme\xmlme\xmlme.h
和后果:
IntelliSense: cannot open source file "R:/Work/VS2010/XmlMe/XmlMe/Debug/stlvector.tlh" r:\work\vs2010\xmlme\xmlme\xmlme.h
不能搞清楚什么智能感知离我想要的。我将gsoap目录中的导入文件夹复制到我的项目中,并按照我的想法正确引用它。
my solution archive (link may expire)
UPDATE:
我试过-s为wsdl2h效用参数排除从xmlme.h STL文件的依赖性。而现在我已经类似的错误:
error C1083: Cannot open type library file: soap12.h: Error while loading library. xmlme\xmlme.h
...产生相同的后果怪异:
IntelliSense: cannot open source file "XmlMe/Debug/soap12.tlh" \xmlme\xmlme.h