[Gdal-dev] gdal-grass-1.3.1 issue
gallus.riegger at gmx.de
gallus.riegger at gmx.de
Mon Mar 6 05:00:36 EST 2006
Hi,
I tried to compile gdal-grass-1.3., but failed.
I have installed:
-grass 6.0.1
-gdal 1.2.6
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
I have ow problems with the ./configure:
./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
More information about the Gdal-dev
mailing list