axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Sanford <rsanf...@trefs.com>
Subject RE: Trying to get VC++ Working
Date Thu, 10 Jun 2004 21:42:12 GMT
Okay, the good news is that I've gotten it down to 2 linker errors instead
of the 63 I had previously. The bad news is that I still have 2. They are:

AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol
"public: static struct CallFunctions CallBase::ms_VFtable"
(?ms_VFtable@CallBase@@2UCallFunctions@@A)
AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol
"public: static bool CallBase::bInitialized" (?bInitialized@CallBase@@2_NA)

Release/CLI.exe : fatal error LNK1120: 2 unresolved externals

What lib or config option am I missing?

rjsjr

> -----Original Message-----
> From: Robert Sanford [mailto:rsanford@trefs.com] 
> Sent: Thursday, June 10, 2004 3:41 PM
> To: axis-c-user@ws.apache.org
> Subject: Trying to get VC++ Working
> 
> 
> Okay, I downloaded the binary packages and I'm trying to use 
> VC++ on Win32 to create my own custom client. I create a 
> simple command-line project, I copy code from the calculator 
> client sample, I add the axis directory to my include path, I 
> add AxisClient.lib to my link lib path. Everything compiles 
> just fine but I get lots of linker errors that are pasted at 
> the end of this message.
> 
> What am I missing?
> 
> rjsjr
> 
> 
> --------------------Configuration: CLI - Win32 
> Release-------------------- Compiling... StdAfx.cpp 
> Compiling... AXAPTA_CLIENT.cpp CLI.cpp Generating Code... Linking...
>    Creating library Release/CLI.lib and object 
> Release/CLI.exp AXAPTA_CLIENT.obj : error LNK2001: unresolved 
> external symbol "public: static struct CallFunctions 
> CallBase::ms_VFtable"
> (?ms_VFtable@CallBase@@2UCallFunctions@@A)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: static bool CallBase::bInitialized" 
> (?bInitialized@CallBase@@2_NA) AXAPTA_CLIENT.obj : error 
> LNK2001: unresolved external symbol "public: virtual int 
> __stdcall Call::CheckMessage(char const *,char const *)"
> (?CheckMessage@Call@@UAGHPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct Axis_Array __stdcall 
> Call::GetBasicArray(enum XSDTYPETag,char const *,char const *)"
> (?GetBasicArray@Call@@UAG?AUAxis_Array@@W4XSDTYPETag@@PBD1@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct Axis_Array __stdcall 
> Call::GetCmplxArray(void *,void *,void *,void *,char const 
> *,char const *)"
> (?GetCmplxArray@Call@@UAG?AUAxis_Array@@PAX000PBD1@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual void * __stdcall Call::GetCmplxObject(void 
> *,void *,void *,char const *,char const *)" 
> (?GetCmplxObject@Call@@UAGPAXPAX00PBD1@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual long __stdcall 
> Call::GetAttributeAsDuration(char const *,char const *)" 
> (?GetAttributeAsDuration@Call@@UAGJPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct tm __stdcall 
> Call::GetAttributeAsTime(char const *,char const *)" 
> (?GetAttributeAsTime@Call@@UAG?AUtm@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct tm __stdcall 
> Call::GetAttributeAsDate(char const *,char const *)" 
> (?GetAttributeAsDate@Call@@UAG?AUtm@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct tm __stdcall 
> Call::GetAttributeAsDateTime(char const *,char const *)" 
> (?GetAttributeAsDateTime@Call@@UAG?AUtm@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct xsd__base64Binary __stdcall 
> Call::GetAttributeAsBase64Binary(char const *,char const *)"
> (?GetAttributeAsBase64Binary@Call@@UAG?AUxsd__base64Binary@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct xsd__hexBinary __stdcall 
> Call::GetAttributeAsHexBinary(char
> const *,char const *)"
> (?GetAttributeAsHexBinary@Call@@UAG?AUxsd__hexBinary@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual char * __stdcall 
> Call::GetAttributeAsQName(char const *,char const *)" 
> (?GetAttributeAsQName@Call@@UAGPADPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual char * __stdcall 
> Call::GetAttributeAsAnyURI(char const *,char const *)" 
> (?GetAttributeAsAnyURI@Call@@UAGPADPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual char * __stdcall 
> Call::GetAttributeAsString(char const *,char const *)" 
> (?GetAttributeAsString@Call@@UAGPADPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual double __stdcall 
> Call::GetAttributeAsDecimal(char const *,char const *)" 
> (?GetAttributeAsDecimal@Call@@UAGNPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual double __stdcall 
> Call::GetAttributeAsDouble(char const *,char const *)" 
> (?GetAttributeAsDouble@Call@@UAGNPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual float __stdcall 
> Call::GetAttributeAsFloat(char const *,char const *)" 
> (?GetAttributeAsFloat@Call@@UAGMPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual unsigned long __stdcall 
> Call::GetAttributeAsUnsignedLong(char const *,char const *)" 
> (?GetAttributeAsUnsignedLong@Call@@UAGKPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual long __stdcall 
> Call::GetAttributeAsInteger(char const *,char const *)" 
> (?GetAttributeAsInteger@Call@@UAGJPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual long __stdcall Call::GetAttributeAsLong(char 
> const *,char const *)"
> (?GetAttributeAsLong@Call@@UAGJPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual unsigned char __stdcall 
> Call::GetAttributeAsUnsignedByte(char const *,char const *)" 
> (?GetAttributeAsUnsignedByte@Call@@UAGEPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual char __stdcall Call::GetAttributeAsByte(char 
> const *,char const *)"
> (?GetAttributeAsByte@Call@@UAGDPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual unsigned short __stdcall 
> Call::GetAttributeAsUnsignedShort(char
> const *,char const *)" (?GetAttributeAsUnsignedShort@Call@@UAGGPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual short __stdcall 
> Call::GetAttributeAsShort(char const *,char const *)" 
> (?GetAttributeAsShort@Call@@UAGFPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual unsigned int __stdcall 
> Call::GetAttributeAsUnsignedInt(char const *,char const *)" 
> (?GetAttributeAsUnsignedInt@Call@@UAGIPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual enum xsd__boolean __stdcall 
> Call::GetAttributeAsBoolean(char const *,char const *)" 
> (?GetAttributeAsBoolean@Call@@UAG?AW4xsd__boolean@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual int __stdcall Call::GetAttributeAsInt(char 
> const *,char const *)"
> (?GetAttributeAsInt@Call@@UAGHPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual long __stdcall 
> Call::GetElementAsDuration(char const *,char const *)" 
> (?GetElementAsDuration@Call@@UAGJPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct tm __stdcall 
> Call::GetElementAsTime(char const *,char const *)" 
> (?GetElementAsTime@Call@@UAG?AUtm@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct tm __stdcall 
> Call::GetElementAsDate(char const *,char const *)" 
> (?GetElementAsDate@Call@@UAG?AUtm@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct tm __stdcall 
> Call::GetElementAsDateTime(char const *,char const *)" 
> (?GetElementAsDateTime@Call@@UAG?AUtm@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct xsd__base64Binary __stdcall 
> Call::GetElementAsBase64Binary(char const *,char const *)"
> (?GetElementAsBase64Binary@Call@@UAG?AUxsd__base64Binary@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual struct xsd__hexBinary __stdcall 
> Call::GetElementAsHexBinary(char const *,char const *)"
> (?GetElementAsHexBinary@Call@@UAG?AUxsd__hexBinary@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual char * __stdcall 
> Call::GetElementAsQName(char const *,char const *)"
> (?GetElementAsQName@Call@@UAGPADPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual char * __stdcall 
> Call::GetElementAsAnyURI(char const *,char const *)" 
> (?GetElementAsAnyURI@Call@@UAGPADPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual char * __stdcall 
> Call::GetElementAsString(char const *,char const *)" 
> (?GetElementAsString@Call@@UAGPADPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual double __stdcall 
> Call::GetElementAsDecimal(char const *,char const *)" 
> (?GetElementAsDecimal@Call@@UAGNPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual double __stdcall 
> Call::GetElementAsDouble(char const *,char const *)" 
> (?GetElementAsDouble@Call@@UAGNPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual float __stdcall Call::GetElementAsFloat(char 
> const *,char const *)"
> (?GetElementAsFloat@Call@@UAGMPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual unsigned long __stdcall 
> Call::GetElementAsUnsignedLong(char const *,char const *)" 
> (?GetElementAsUnsignedLong@Call@@UAGKPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual long __stdcall 
> Call::GetElementAsInteger(char const *,char const *)"
> (?GetElementAsInteger@Call@@UAGJPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual long __stdcall Call::GetElementAsLong(char 
> const *,char const *)"
> (?GetElementAsLong@Call@@UAGJPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual unsigned char __stdcall 
> Call::GetElementAsUnsignedByte(char const *,char const *)" 
> (?GetElementAsUnsignedByte@Call@@UAGEPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual char __stdcall Call::GetElementAsByte(char 
> const *,char const *)"
> (?GetElementAsByte@Call@@UAGDPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual unsigned short __stdcall 
> Call::GetElementAsUnsignedShort(char const *,char const *)" 
> (?GetElementAsUnsignedShort@Call@@UAGGPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual short __stdcall Call::GetElementAsShort(char 
> const *,char const *)"
> (?GetElementAsShort@Call@@UAGFPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual unsigned int __stdcall 
> Call::GetElementAsUnsignedInt(char const *,char const *)" 
> (?GetElementAsUnsignedInt@Call@@UAGIPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual enum xsd__boolean __stdcall 
> Call::GetElementAsBoolean(char const *,char const *)" 
> (?GetElementAsBoolean@Call@@UAG?AW4xsd__boolean@@PBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual int __stdcall Call::GetElementAsInt(char 
> const *,char const *)"
> (?GetElementAsInt@Call@@UAGHPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual void __stdcall Call::AddParameter(void 
> *,char const *,enum XSDTYPETag)" 
> (?AddParameter@Call@@UAGXPAXPBDW4XSDTYPETag@@@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual void __stdcall 
> Call::AddBasicArrayParameter(struct Axis_Array *,enum 
> XSDTYPETag,char const *)"
> (?AddBasicArrayParameter@Call@@UAGXPAUAxis_Array@@W4XSDTYPETag@@PBD@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual void __stdcall 
> Call::AddCmplxArrayParameter(struct Axis_Array *,void *,void 
> *,void *,char const *,char const *)" 
> (?AddCmplxArrayParameter@Call@@UAGXPAUAxis_Array@@PAX11PB
> D2@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual void __stdcall Call::AddCmplxParameter(void 
> *,void *,void *,char const *,char const *)" 
> (?AddCmplxParameter@Call@@UAGXPAX00PBD1@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual int __stdcall Call::SetEndpointURI(char const *)"
> (?SetEndpointURI@Call@@UAGHPBD@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual void __stdcall Call::SetOperation(char const 
> *,char const *)"
> (?SetOperation@Call@@UAGXPBD0@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual int __stdcall Call::UnInitialize(void)" 
> (?UnInitialize@Call@@UAGHXZ) AXAPTA_CLIENT.obj : error 
> LNK2001: unresolved external symbol "public: virtual int 
> __stdcall Call::Invoke(void)" (?Invoke@Call@@UAGHXZ) 
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual int __stdcall Call::Initialize(enum 
> PROVIDERTYPE,int)"
> (?Initialize@Call@@UAGHW4PROVIDERTYPE@@H@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual int __stdcall Call::SetProtocol(enum 
> AXIS_PROTOCOL_TYPE)"
> (?SetProtocol@Call@@UAGHW4AXIS_PROTOCOL_TYPE@@@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual int __stdcall 
> Call::SetTransportProperty(enum 
> AXIS_TRANSPORT_INFORMATION_TYPE,char const *)"
> (?SetTransportProperty@Call@@UAGHW4AXIS_TRANSPORT_INFORMATION_
> TYPE@@PBD@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual void __stdcall Call::SetSOAPVersion(enum 
> SOAP_VERSIONTag)"
> (?SetSOAPVersion@Call@@UAGXW4SOAP_VERSIONTag@@@Z)
> AXAPTA_CLIENT.obj : error LNK2001: unresolved external symbol 
> "public: virtual __thiscall Call::~Call(void)" 
> (??1Call@@UAE@XZ) Release/CLI.exe : fatal error LNK1120: 63 
> unresolved externals Error executing link.exe.
> 
> CLI.exe - 64 error(s), 0 warning(s)
> 

Mime
View raw message