[Gdal-dev] GDAL/OGR_1.3.2 and XERCES-C_2.7.0
Jean-Daniel GONON
jdgonon at gi-lemans.com
Mon Nov 27 10:00:02 EST 2006
Hi,
I compile GDAL/OGR_1.3.2 under Visual C++ 2003, and "Xerces-C++ Parser Version 2.7.0".
Xerces-C++ Parser is called in header file "gdal-1.3.2\ogr\ogrsf_frmts\gml\gmlreaderp.h" :
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/sax2/DefaultHandler.hpp>
#include <xercesc/sax2/ContentHandler.hpp>
#include <xercesc/sax2/SAX2XMLReader.hpp>
#include <xercesc/sax2/XMLReaderFactory.hpp>
But I have 82 errors because of "Xerces-C++ Parser Version 2.7.0".
I have these 2 errors :
- gdal error LNK2005: _calloc déjà défini(e) dans LIBCD.lib(dbgheap.obj)
- gdal error LNK2005: _free déjà défini(e) dans LIBCD.lib(dbgheap.obj)
and I have 80 errors like those :
- gdal error LNK2001: symbole externe non résolu "__declspec(dllimport) public: static class xercesc_2_7::MemoryManager * xercesc_2_7::XMLPlatformUtils::fgMemoryManager" (__imp_?fgMemoryManager at XMLPlatformUtils@xercesc_2_7@@2PAVMemoryManager at 2@A)
- gdal error LNK2001: symbole externe non résolu "public: virtual class xercesc_2_7::InputSource * __thiscall xercesc_2_7::DefaultHandler::resolveEntity(unsigned short const * const,unsigned short const * const)" (?resolveEntity at DefaultHandler@xercesc_2_7@@UAEPAVInputSource at 2@QBG0 at Z)
- gdal error LNK2001: symbole externe non résolu "public: virtual void __thiscall xercesc_2_7::DefaultHandler::attributeDecl(unsigned short const * const,unsigned short const * const,unsigned short const * const,unsigned short const * const,unsigned short const * const)" (?attributeDecl at DefaultHandler@xercesc_2_7@@UAEXQBG0000 at Z)
What I must do to correct this problem ?
Does there exist complete version of GDAL/OGR_1.3.2 (with "Xerces-C++ Parser Version 2.7.0") ?
Can I download this version for my work ?
Thancks in advance
Jean-Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20061127/9ae5181b/attachment.html
More information about the Gdal-dev
mailing list