axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Susantha Kumara" <susan...@opensource.lk>
Subject RE: compiling a prog using Axis C++ in Windows
Date Tue, 18 May 2004 04:42:39 GMT
Yes you have to link with AxisClient.lib and at runtime you will need
AxisClient.dll.

---
Susantha Kumara
Virtusa (pvt) Ltd.
Office : +94112714385
Mobile : +94777420453

> -----Original Message-----
> From: Frédéric Lassinot [mailto:frederic.lassinot@info-sciences.univ-
> orleans.fr]
> Sent: Monday, May 17, 2004 2:02 PM
> To: Apache AXIS C User List
> Subject: compiling a prog using Axis C++ in Windows
> 
> Hello
> 
> I would like to use Axis C++ in a client Windows prog. In order to do
> this, I wrote a short program that is supposed to instantiate the Call
> class :
> "
> //runWSWithAxis.cpp
> #include <axis/client/Call.h>
> 
> int main(int argc, char* argv[])
> {
>     Call* m_pCall = new Call();
> }
> "
> When I compile it I have a linker error :
> "
> unresolved external symbol "public: __thiscall Call::Call(void)"
> referenced in function _main
> "
> My compiler script is a BAT file :
> "
> ECHO ON
> cl runWSWithAxis.cpp /FI"C:\Documents and Settings\Administrator\My
> Documents\stage\programmation\C++\axis-c-1-1-1-
> win32\include\axis\client\Call.h"
> /FI"C:\Documents and Settings\Administrator\My
> Documents\stage\programmation\C++\axis-c-1-1-1-
> win32\include\axis\server\AdminUtils.h"
> "
> I use Microsoft compiler and linker which is freely available at
> Microsoft's web site.
> Maybe I should use some library in the command line or write a header
file
> ?
> I'm not very skilled at C++, I'm a Java programmer you know... :)


Mime
View raw message