Hi,<br><br>I try to compile gdal 1.9.0 with libkml 1.2.0 but I have some problem. G++ write out this error:<br><br>ogrlibkmldatasource.cpp: In member function 'int OGRLIBKMLDataSource::OpenKml(const char*, int)':<br>
ogrlibkmldatasource.cpp:817: warning: converting to non-pointer type 'int' from NULL<br>ogrlibkmldatasource.cpp: In member function 'int OGRLIBKMLDataSource::OpenKmz(const char*, int)':<br>ogrlibkmldatasource.cpp:914: warning: converting to non-pointer type 'int' from NULL<br>
ogrlibkmldatasource.cpp: In member function 'OGRErr OGRLIBKMLDataSource::DeleteLayerKml(int)':<br>ogrlibkmldatasource.cpp:1536: error: 'class kmldom::Container' has no member named 'DeleteFeatureAt'<br>
ogrlibkmldatasource.cpp: In member function 'OGRErr OGRLIBKMLDataSource::DeleteLayerKmz(int)':<br>ogrlibkmldatasource.cpp:1597: error: 'class kmldom::Container' has no member named 'DeleteFeatureAt'<br>
ogrlibkmldatasource.cpp: In member function 'void OGRLIBKMLDataSource::SetStyleTable2Kml(OGRStyleTable*)':<br>ogrlibkmldatasource.cpp:1848: error: 'class kmldom::Document' has no member named 'DeleteStyleSelectorAt'<br>
make[3]: *** [../o/ogrlibkmldatasource.lo] Error 1<br>make[3]: Leaving directory `/home/user/gdal-1.9.0/ogr/ogrsf_frmts/libkml'<br>make[2]: *** [libkml-target] Error 2<br>make[2]: Leaving directory `/home/user/gdal-1.9.0/ogr/ogrsf_frmts'<br>
make[1]: *** [sublibs] Error 2<br>make[1]: Leaving directory `/home/user/gdal-1.9.0/ogr'<br>make: *** [ogr-target] Error 2<br><br>Someone can tell me how resolve?<br><br><br>Massimo Costantini<br>