[Gdal-dev] gdal-grass-1.3.1

gallus gallus.riegger at gmx.de
Mon Mar 6 05:11:05 EST 2006


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

checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for g++ -shared ... yes
user supplied gdal-config (/usr/bin/gdal-config)
using /usr/lib/gdalplugins as GDAL shared library autoload directory
checking for G_asprintf in -lgrass_gis... yes
configure: creating ./config.status
config.status: creating Makefile


Thanks,

Uwe
--
View this message in context: http://www.nabble.com/gdal-grass-1.3.1-t1232397.html#a3259493
Sent from the GDAL - Dev forum at Nabble.com.





More information about the Gdal-dev mailing list