[gdal-dev] How to get Xerces Library support for OGR GML
Chaitanya kumar CH
chaitanya.ch at gmail.com
Thu Jan 21 08:21:30 EST 2010
Vadivelan,
Edit the gdal/nmake.opt file to point to the xerces library.
On Thu, Jan 21, 2010 at 6:34 PM, vadi_nabble <vadivelan_gi at yahoo.co.in>wrote:
>
> Hi,
>
> I am trying to execute the Program which is given in the
> "http://www.gdal.org/ogr/ogr_apitut.html" site...
>
> In that program instead of "OGRRegisterAll();" function I am using
> "RegisterOGRGML();" to read GML File and to export into comma sepearted
> file...
>
> Initally, while executing i was getting follwing errors:
>
> ERROR 1: Unable to create Xerces C++ based GML reader, Xerces support not
> configured into GDAL/OGR.
> ERROR 1: File D:\out.gml appears to be GML but the GML reader can't be
> instantiated, likely because Xerces support wasn't configured in.
>
> Later I came to know that we have to include Xerces Library support to
> overcome above error.
>
> I included "xerces-c_3.lib" library and defined the Macro "HAVE_XERCES" in
> Preprocessor option in VC++ 2008 Express IDE.
>
> However, still I am getting 7 linking errors :
>
> 1>gmlreader.obj : error LNK2001: unresolved external symbol "public:
> virtual
> int __thiscall GMLReader::ParseXSD(char const *)"
> (?ParseXSD at GMLReader@@UAEHPBD at Z)
>
> 1>gmlreader.obj : error LNK2019: unresolved external symbol "public:
> __thiscall GMLReadState::GMLReadState(void)" (??0GMLReadState@@QAE at XZ)
> referenced in function __catch$?SetupParser at GMLReader@@AAEHXZ$0
> .
> .
> .
> .
> .etc.
>
> It seems that, i am still missing some library to be added for above
> functions, Please let me know the missing Library.
>
> Thanks.
>
> --
> View this message in context:
> http://n2.nabble.com/How-to-get-Xerces-Library-support-for-OGR-GML-tp4433471p4433471.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9848167848
17.241582N 80.142635E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100121/6e837a72/attachment.html
More information about the gdal-dev
mailing list