> > Xalan-C does not define or use the Xerces-C macros that
> > affect Xerces-C's class export macros.  You should look very
> > carefully at what you did to build Xerces-C as a static
> > library and make sure have modified the following lines in
> > xercesc/util/Compilers/VCPPDefs.hpp:
> >
> >    #define PLATFORM_EXPORT     __declspec(dllexport)
> >    #define PLATFORM_IMPORT     __declspec(dllimport)
> >
> > to
> >
> >    #define PLATFORM_EXPORT
> >    #define PLATFORM_IMPORT
> Yes, I did that. And I've succeeded to link Xerces 2.5 as static lib
> with my test project.
>
> Interesting is that setExpandEntityReferences(bool) function is the only
> unresolved function here. All other unresolved simbols are
> ctors/dectors. Does anyone have any idea why this func is different then
> the others?

Are you building a debug configuration?  There may be issues with
generating out-of-line copies of inline functions.  Some of them are also
virtual and defined in the header file, so perhaps the compiler has no way
of knowing where to place an out-of-line copy in the Xerces library, so it
doesn't.  Did you dump the symbols from the Xerces-C library you built to
see if these missing symbols are defined?

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to