2017-01-23 194 views
1

我想创建Windows 7中C++肥皂Web服务客户端我使用gSOAP的,我跟gSOAP的tutorialgSOAP的错误:xlocale.h没有这样的文件或目录

第一和第二命令的工作,但

c++ -o main main.cpp soapC.cpp soapcalcProxy.cpp stdsoap2.cpp 

命令没有工作。

误差

Microsoft Windows [Version 6.1.7601] 
Copyright (c) 2009 Microsoft Corporation. All rights reserved. 

C:\Users\user\Desktop\soap>C:\MinGW\bin\mingw32-g++.exe -o main main.cpp soapC.cpp soapcalcProxy.cpp stdsoap2.cpp 
In file included from soapStub.h:22:0, 
       from soapH.h:16, 
       from calc.nsmap:2, 
       from main.cpp:16: 
stdsoap2.h:651:23: fatal error: xlocale.h: No such file or directory 
compilation terminated. 
In file included from soapStub.h:22:0, 
       from soapH.h:16, 
       from soapC.cpp:19: 
stdsoap2.h:651:23: fatal error: xlocale.h: No such file or directory 
compilation terminated. 
In file included from soapStub.h:22:0, 
       from soapH.h:16, 
       from soapcalcProxy.h:16, 
       from soapcalcProxy.cpp:14: 
stdsoap2.h:651:23: fatal error: xlocale.h: No such file or directory 
compilation terminated. 
In file included from stdsoap2.cpp:60:0: 
stdsoap2.h:651:23: fatal error: xlocale.h: No such file or directory 
compilation terminated. 

我该如何解决呢? 我使用Windows 7 64位和MinGW。 谢谢。

回答

相关问题