+ -
当前位置:首页 → 问答吧 → vc2010 +gSOAP

vc2010 +gSOAP

时间:2010-08-30

来源:互联网

在vc2010中通过gSOAP访问.net 的webserivce,编译时报错,主要是soapC.obj报错 
网上查看的写开发gSoap的帖子都是用vc6.0编译的,难道gSOAP不支持高版本吗

作者: mingfei200169   发布时间: 2010-08-30

我只在UNIX/LINUX下用过gSOAP,不过,按照gSOAP的README,它至少是支持Visual Studio 2005的,但需要bison和flex,你可以试下

Visual Studio 2005 Solution files for soapcpp2 and wsdl2h.

If not already installed, install the Platform SDK (R2) for winsock.h

To build soapcpp2, first install Bison and Flex (in the default dirs):
  http://gnuwin32.sourceforge.net/packages/bison.htm
  http://gnuwin32.sourceforge.net/packages/flex.htm
then add the FlexBison.rules:
  http://msdn2.microsoft.com/en-us/library/aa730877(VS.80).aspx
These custom-build rules are used to build the scanner and parser for soapcpp2.

To build wsdl2h, you first need to build soapcpp2.exe and install it in
Program Files or copy it to the wsdl2h source file directory. This is needed to
execute the custom-build step on wsdl.h to generate wsdlStub.h, wsdlH.h, and
wsdlC.cpp.

作者: yui   发布时间: 2010-09-01

热门下载

更多