[Gdal-dev] gdal-grass-1.3.1

Frank Warmerdam warmerdam at pobox.com
Mon Mar 6 08:28:54 EST 2006


gallus wrote:
> Hi,
> 
> I have installed grass6.0.1 and gdal 1.2.6.
> 
> then I tried to compile gdal-grass-1.3.1, but failed:
> 
> make
> g++ -Wall -fPIC  -DUSE_CPL -DGRASS_GISBASE=\"/usr/lib/grass\" -I/usr/include
> -I/usr/lib/grass/include   -c -o grass57dataset.o grass57dataset.cpp
> g++ -shared  grass57dataset.o -L/usr/lib/grass/lib -lgrass_I -lgrass_vask
> -lgrass_gmath -lgrass_gis -lgrass_datetime -lgrass_gproj -lgrass_vect
> -L/usr/lib -lgdal  -o gdal_GRASS.so
> g++ -Wall -fPIC  -DUSE_CPL -DGRASS_GISBASE=\"/usr/lib/grass\" -I/usr/include
> -I/usr/lib/grass/include   -c -o ogrgrassdriver.o ogrgrassdriver.cpp
> g++ -Wall -fPIC  -DUSE_CPL -DGRASS_GISBASE=\"/usr/lib/grass\" -I/usr/include
> -I/usr/lib/grass/include   -c -o ogrgrassdatasource.o ogrgrassdatasource.cpp
> g++ -Wall -fPIC  -DUSE_CPL -DGRASS_GISBASE=\"/usr/lib/grass\" -I/usr/include
> -I/usr/lib/grass/include   -c -o ogrgrasslayer.o ogrgrasslayer.cpp
> ogrgrasslayer.cpp: In destructor »virtual OGRGRASSLayer::~OGRGRASSLayer()«:
> ogrgrasslayer.cpp:240: Error: »class OGRFeatureDefn« have no element called
> »Release«
> ogrgrasslayer.cpp:242: Error: »class OGRSpatialReference« hhave no element
> called »Release«
> make: *** [ogrgrasslayer.o] Error 1
> 
> 
> With ./configure I had now problems:
> /configure --with-gdal=/usr/bin/gdal-config --with-grass=/usr/lib/grass
> checking for gcc... gcc

Gallus,

The gdal-grass 1.3.1 driver is for GDAL 1.3.1 though it likely would also
work fine with GDAL 1.3.0 or GDAL-CVS.  However, it should not be expected
to work with GDAL 1.2.6.

I would add there is a gdal-grass-1.3.1.2 release out now that fixes a
few build quirks.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list