[gdal-dev] problem with gdal 1.9 and libkml 1.2

Massimo Costantini massimo.costantini at gmail.com
Tue Apr 3 03:08:44 EDT 2012


Hi,

I try to compile gdal 1.9.0 with libkml 1.2.0 but I have some problem. G++
write out this error:

ogrlibkmldatasource.cpp: In member function 'int
OGRLIBKMLDataSource::OpenKml(const char*, int)':
ogrlibkmldatasource.cpp:817: warning: converting to non-pointer type 'int'
from NULL
ogrlibkmldatasource.cpp: In member function 'int
OGRLIBKMLDataSource::OpenKmz(const char*, int)':
ogrlibkmldatasource.cpp:914: warning: converting to non-pointer type 'int'
from NULL
ogrlibkmldatasource.cpp: In member function 'OGRErr
OGRLIBKMLDataSource::DeleteLayerKml(int)':
ogrlibkmldatasource.cpp:1536: error: 'class kmldom::Container' has no
member named 'DeleteFeatureAt'
ogrlibkmldatasource.cpp: In member function 'OGRErr
OGRLIBKMLDataSource::DeleteLayerKmz(int)':
ogrlibkmldatasource.cpp:1597: error: 'class kmldom::Container' has no
member named 'DeleteFeatureAt'
ogrlibkmldatasource.cpp: In member function 'void
OGRLIBKMLDataSource::SetStyleTable2Kml(OGRStyleTable*)':
ogrlibkmldatasource.cpp:1848: error: 'class kmldom::Document' has no member
named 'DeleteStyleSelectorAt'
make[3]: *** [../o/ogrlibkmldatasource.lo] Error 1
make[3]: Leaving directory `/home/user/gdal-1.9.0/ogr/ogrsf_frmts/libkml'
make[2]: *** [libkml-target] Error 2
make[2]: Leaving directory `/home/user/gdal-1.9.0/ogr/ogrsf_frmts'
make[1]: *** [sublibs] Error 2
make[1]: Leaving directory `/home/user/gdal-1.9.0/ogr'
make: *** [ogr-target] Error 2

Someone can tell me how resolve?


Massimo Costantini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120403/42aed63a/attachment.html


More information about the gdal-dev mailing list