Dimkov
asked on
Xerces question
HI, i need to use Xerces, i have downloaded the newest version for C++, build the library... i THINK i connected it well,
but still I get the fallowing errors:
eVemSetcce error LNK2001: unresolved external symbol "protected: virtual class xercesc_2_8::DOMElement * __thiscall xercesc_2_8::AbstractDOMPa rser::crea teElementN SNode(unsi gned short const *,unsigned short const *)" (?createElementNSNode@Abst ractDOMPar ser@xerces c_2_8@@MAE PAVDOMElem ent@2@PBG0 @Z)
eVemSetcce error LNK2001: unresolved external symbol "public: virtual bool __thiscall xercesc_2_8::XercesDOMPars er::expand SystemId(u nsigned short const * const,class xercesc_2_8::XMLBuffer &)" (?expandSystemId@XercesDOM Parser@xer cesc_2_8@@ UAE_NQBGAA VXMLBuffer @2@@Z)
eVemSetcce error LNK2001: unresolved external symbol "public: virtual class xercesc_2_8::InputSource * __thiscall xercesc_2_8::XercesDOMPars er::resolv eEntity(un signed short const * const,unsigned short const * const,unsigned short const * const)" (?resolveEntity@XercesDOMP arser@xerc esc_2_8@@U AEPAVInput Source@2@Q BG00@Z)
eVemSetcce error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::AbstractDOMPa rser::docC haracters( unsigned short const * const,unsigned int,bool)" (?docCharacters@AbstractDO MParser@xe rcesc_2_8@ @UAEXQBGI_ N@Z)
eVemSetcce error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::AbstractDOMPa rser::docC omment(uns igned short const * const)" (?docComment@AbstractDOMPa rser@xerce sc_2_8@@UA EXQBG@Z)
eVemSetcce error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::AbstractDOMPa rser::docP I(unsigned short const * const,unsigned short const * const)" (?docPI@AbstractDOMParser@ xercesc_2_ 8@@UAEXQBG 0@Z)
eVemSetcce error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::AbstractDOMPa rser::doct ypeComment (unsigned short const * const)" (?doctypeComment@AbstractD OMParser@x ercesc_2_8 @@UAEXQBG@ Z)
Can anyone give me a step by step how to build xerces? I tried the official website, but they dont have solution for my problem
Thanks
but still I get the fallowing errors:
eVemSetcce error LNK2001: unresolved external symbol "protected: virtual class xercesc_2_8::DOMElement * __thiscall xercesc_2_8::AbstractDOMPa
eVemSetcce error LNK2001: unresolved external symbol "public: virtual bool __thiscall xercesc_2_8::XercesDOMPars
eVemSetcce error LNK2001: unresolved external symbol "public: virtual class xercesc_2_8::InputSource * __thiscall xercesc_2_8::XercesDOMPars
eVemSetcce error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::AbstractDOMPa
eVemSetcce error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::AbstractDOMPa
eVemSetcce error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::AbstractDOMPa
eVemSetcce error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::AbstractDOMPa
Can anyone give me a step by step how to build xerces? I tried the official website, but they dont have solution for my problem
Thanks
you to link your project with the xerces library. Which compiler are you using?
In all versions of VC++, locate the Project Settings options, Linker options, you will find an option like "Additional libraries", you have to specify xerces-c_2D.lib, also ensure that library folder is correctly specified to allow the compiler to locate it.
ASKER
hi, i am using VS2003
in additional libreries i have included xerces-c_2D.lib
and library folder is set to "./lib"
i have 3 folders in my project (where vproj is):
"lib"
"include"
"Debug"
in lib i put
xerces-c_2_8D.dll
xerces-c_2D.lib
is this fine?
in additional libreries i have included xerces-c_2D.lib
and library folder is set to "./lib"
i have 3 folders in my project (where vproj is):
"lib"
"include"
"Debug"
in lib i put
xerces-c_2_8D.dll
xerces-c_2D.lib
is this fine?
ASKER
if I change the path (for ex to ./libs) i get an error that the library is not found
i tried to register the dll file, but it says it can not be registered
i tried to register the dll file, but it says it can not be registered
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.