axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hawkins <HAWKI...@uk.ibm.com>
Subject RE: Have problem to build Axis-c 1.5 using Visual Studio .NET
Date Tue, 29 Nov 2005 15:14:17 GMT
These are the current compile flags for 1.6a ->
<!--
                  Definition of Visual C++ compiler
                  -->
                <compiler id="VisualC++" name="msvc" if="windows">
                        <compilerarg value="/nologo"/>
                        <compilerarg value="/MD"/>
                        <!-- Display all warnings -->
                        <compilerarg value="/W3"/>
                        <compilerarg value="/GX"/>
        <compilerarg value="/w44290" if="msvc7" />
                        <compilerarg value="/Gm" if="debug"/>
        <compilerarg value="/Zi" if="debug"/>
                        <compilerarg value="/Od"/>
                        <includepath path="${dir.include}"/>
                        <defineset>
                                <define name="WIN32"/>
                                <define name="_DEBUG" if="debug"/>
                                <define name="NDEBUG" unless="debug"/>
                                <define name="_MBCS"/>
                                <define name="_USRDLL"/>
                                <define name="ENABLE_AXIS_EXCEPTION"/>
                        </defineset>
                        <compilerarg value="/FD"/>
                        <compilerarg value="/c"/>
                </compiler>

<!--
                  Definition of Visual C++ linker
                  -->
                <linker id="VisualC++Linker" name="msvc" if="windows">
            <linkerarg value="${basedir}/build/version.res"/>
                        <linkerarg value="/debug" if="debug"/>
                        <linkerarg value="/machine:I386"/>
                        <linkerarg value="/nologo"/>
        <linkerarg value="/pdb:none" unless="msvc7" />
                </linker>

You can look in c/build/buildinitialize.xml for the ones that were used in 
1.5 (they should be pretty much the same)





<Liangwu.Xu@wellsfargo.com> 
29/11/2005 14:59
Please respond to
"Apache AXIS C User List"


To
<axis-c-user@ws.apache.org>
cc

Subject
RE: Have problem to build Axis-c 1.5 using Visual Studio .NET






Thanks for the reply, I searched the Axis-C 1.5 documentation but couldn?t 
find STL related info.
 
Leon
 
-----Original Message-----
From: Cooper_JohnD@emc.com [mailto:Cooper_JohnD@emc.com] 
Sent: Tuesday, November 29, 2005 8:32 AM
To: axis-c-user@ws.apache.org
Subject: RE: Have problem to build Axis-c 1.5 using Visual Studio .NET
 
Your configuration for building Axis is setup incorrectly, I don?t 
remember the setting off the to of my head, but there is a switch to 
indicate how Axis will interact the STL. It?s obviously from your errors 
that this is what?s occurring. Recheck you build and installation doc for 
axis and look for the flag about STL uses, and uses the proper setting for 
your project.
Thanks,
John 
4400 Computer Drive
2nd floor, Mailstop D239
Ext:   35983

From: Liangwu.Xu@wellsfargo.com [mailto:Liangwu.Xu@wellsfargo.com] 
Sent: Monday, November 28, 2005 4:45 PM
To: axis-c-user@ws.apache.org
Subject: Have problem to build Axis-c 1.5 using Visual Studio .NET
 
Hi,
   I?m using Visual Studio .NET to build Axis-c 1.5. When I try to build 
Axis3 project, I got the follow error:
Linking...
xilink: executing 'link'
   Creating library .\Release/HTTPTransport.lib and object 
.\Release/HTTPTransport.exp
PlatformSpecificWindows.obj : error LNK2001: unresolved external symbol 
"?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z" 
(?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z)
URL.obj : error LNK2019: unresolved external symbol 
"?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z" 
(?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z) 
referenced in function "class std::basic_istream<unsigned short,struct 
std::char_traits<unsigned short> > & __cdecl std::operator>>(class 
std::basic_istream<unsigned short,struct std::char_traits<unsigned short> 
> &,class std::basic_string<unsigned short,struct 
std::char_traits<unsigned short>,class std::allocator<unsigned short> > 
&)" 
(??5std@@YAAAV?$basic_istream@GU?$char_traits@G@std@@@0@AAV10@AAV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@0@@Z)
ChannelFactory.obj : error LNK2019: unresolved external symbol 
"?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z" 
(?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z) 
referenced in function "class std::basic_istream<char,struct 
std::char_traits<char> > & __cdecl std::getline(class 
std::basic_istream<char,struct std::char_traits<char> > &,class 
std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > &)" 
(?getline@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@1@AAV21@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z)
HTTPTransport.obj : error LNK2001: unresolved external symbol 
"?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z" 
(?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z)
HTTPTransportException.obj : error LNK2001: unresolved external symbol 
"?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z" 
(?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z)
HTTPTransportInstantiator.obj : error LNK2001: unresolved external symbol 
"?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z" 
(?use_facet@?$@V?$ctype@D@std@@@std@@YAABV?$ctype@D@1@ABVlocale@1@@Z)
../../../bin/HTTPTransport.dll : fatal error LNK1120: 1 unresolved 
externals
Does anyone have a suggestion on how to resolve this problem?
Thanks
Liangwu Xu

Mime
View raw message