You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Li...@wellsfargo.com on 2005/11/28 22:45:05 UTC

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


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

Posted by John Hawkins <HA...@uk.ibm.com>.
I would suggest that you use the ANT framework to compile the code. The 
ANT framework is fully supported.





<Li...@wellsfargo.com> 
28/11/2005 21:45
Please respond to
"Apache AXIS C User List"


To
<ax...@ws.apache.org>
cc

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