Hi David,

I am not getting this error when I link to the DLL.
This only happens when I link to the static library.

Boris, it's certainly not the XML_LIBRARY issue,
because I am already defining it. It looks like there
is something wrong with the library that I've created,
because I am also getting this warning:

xerces-c_static_2.lib(Win32TransService2.obj) :
warning LNK4221: no public symbols found; archive
member will be inaccessible


In addition, I see some warnings about sax2dummy.obj,
Dummy.obj, HeaderDummy.obj. Why are these files
included in the project? 

Thank you,


Matteo




--- David Bertoni <[EMAIL PROTECTED]> wrote:

> Matteo Vega wrote:
> > Hi,
> > 
> > I am building the Xerces-C++ 2.8 library using the
> > VS2005 project files. My first question is where
> the
> > include files go. How can I create an include
> > directory with the built options that I've chosen?
> There is no way with the IDE to build the include
> directories on 
> Windows.  Instead, you need to put the base Xerces-C
> src directory in 
> the preprocessor options for the compiler in your
> project file.  Take a 
> look at how the options are set in one of the sample
> projects.
> > 
> > My second question is, when I try to build my
> > application with the static (debug) library, I am
> > getting:
> > 
> > XmlParser.lib(Win32TransService.obj) : error
> LNK2019:
> > unresolved external symbol
> >  [EMAIL PROTECTED] referenced in function
> "public:
> > __thiscall xercesc_2_8::Wi
> > n32TransService::Win32TransService(void)"
> > ([EMAIL PROTECTED]@@QAE
> > @XZ)
> > 
> > 
> > link error. I've looked at the preprocessor
> options
> > and XML_USE_WIN32_TRANSCODER was defined there. Am
> I
> > missing anything?
> You will need to link your application with the same
> set of Window 
> import libraries that the Xerces-C DLL does.  Take a
> look at the link 
> options for the XercesLib target for more
> information.
> 
> Dave
> 




      
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

Reply via email to