Opened 19 years ago
Last modified 19 years ago
#894 closed defect (fixed)
GML support fails to compile on GCC 3.4.4
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
GDAL 1.2.6 compilation fails with: ogrgmldatasource.cpp: In member function `OGRGMLLayer* OGRGMLDataSource::TranslateGMLSchema(GMLFeatureClass*)': ogrgmldatasource.cpp:323: error: cannot allocate an object of type `OGRGMLLayer' ogrgmldatasource.cpp:323: error: because the following virtual functions are abstract: /pangaea/gnu/include/ogrsf_frmts.h:200: error: virtual OGRGeometry* OGRLayer::GetSpatialFilter() /pangaea/gnu/include/ogrsf_frmts.h:201: error: virtual void OGRLayer::SetSpatialFilter(OGRGeometry*) ogrgmldatasource.cpp: In member function `virtual OGRLayer* OGRGMLDataSource::CreateLayer(const char*, OGRSpatialReference*, OGRwkbGeometryType, char**)': ogrgmldatasource.cpp:483: error: cannot allocate an object of type `OGRGMLLayer' ogrgmldatasource.cpp:483: error: since type `OGRGMLLayer' has abstract virtual functions gmake[3]: *** [../o/ogrgmldatasource.o] Error 1 gmake[3]: Leaving directory `/pangaea/install/gdal-1.2.6/ogr/ogrsf_frmts/gml' gmake[2]: *** [gml-target] Error 2 gmake[2]: Leaving directory `/pangaea/install/gdal-1.2.6/ogr/ogrsf_frmts' gmake[1]: *** [sublibs] Error 2 gmake[1]: Leaving directory `/pangaea/install/gdal-1.2.6/ogr' gmake: *** [ogr-target] Error 2 pangaeaw@pans1:~/install/gdal-1.2.6$ gcc --version gcc (GCC) 3.4.4
Change History (2)
comment:2 by , 19 years ago
Now it works. The older version of the include files is from our previous gdal-1.2.5 version which lies in the default include path (which is the same like $XERCES_INCLUDE): /pangaea/gnu/include in both cases. Thanks!
Note:
See TracTickets
for help on using tickets.