Vadivelan,<br><br>Edit the gdal/nmake.opt file to point to the xerces library.<br><br><div class="gmail_quote">On Thu, Jan 21, 2010 at 6:34 PM, vadi_nabble <span dir="ltr">&lt;<a href="mailto:vadivelan_gi@yahoo.co.in">vadivelan_gi@yahoo.co.in</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi,<br>
<br>
I am trying to execute the Program which is given in the<br>
&quot;<a href="http://www.gdal.org/ogr/ogr_apitut.html" target="_blank">http://www.gdal.org/ogr/ogr_apitut.html</a>&quot; site...<br>
<br>
In that program instead of &quot;OGRRegisterAll();&quot; function I am using<br>
&quot;RegisterOGRGML();&quot; to read GML File and to export into comma sepearted<br>
file...<br>
<br>
Initally, while executing i was getting follwing errors:<br>
<br>
ERROR 1: Unable to create Xerces C++ based GML reader, Xerces support not<br>
configured into GDAL/OGR.<br>
ERROR 1: File D:\out.gml appears to be GML but the GML reader can&#39;t be<br>
instantiated, likely because Xerces support wasn&#39;t configured in.<br>
<br>
Later I came to know that we have to include Xerces Library support to<br>
overcome above error.<br>
<br>
I included &quot;xerces-c_3.lib&quot; library and defined the Macro &quot;HAVE_XERCES&quot; in<br>
Preprocessor option in VC++ 2008 Express IDE.<br>
<br>
However, still I am getting 7 linking errors :<br>
<br>
1&gt;gmlreader.obj : error LNK2001: unresolved external symbol &quot;public: virtual<br>
int __thiscall GMLReader::ParseXSD(char const *)&quot;<br>
(?ParseXSD@GMLReader@@UAEHPBD@Z)<br>
<br>
1&gt;gmlreader.obj : error LNK2019: unresolved external symbol &quot;public:<br>
__thiscall GMLReadState::GMLReadState(void)&quot; (??0GMLReadState@@QAE@XZ)<br>
referenced in function __catch$?SetupParser@GMLReader@@AAEHXZ$0<br>
.<br>
.<br>
.<br>
.<br>
.etc.<br>
<br>
It seems that, i am still missing some library to be added for above<br>
functions, Please let me know the missing Library.<br>
<br>
Thanks.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://n2.nabble.com/How-to-get-Xerces-Library-support-for-OGR-GML-tp4433471p4433471.html" target="_blank">http://n2.nabble.com/How-to-get-Xerces-Library-support-for-OGR-GML-tp4433471p4433471.html</a><br>

Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9848167848<br>17.241582N 80.142635E<br>