2017-01-23 510 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。 謝謝。

回答

相關問題