[GRASSLIST:5637] Re: gdal on cygwin errors

Glynn Clements glynn.clements at virgin.net
Fri Feb 21 14:56:41 EST 2003


Paul Dymecki wrote:

> Here's the gcc call from that group error messages.  I don't think i have
> the right gcc version  because  -L isn't even an option as far as i  can
> tell.
> gcc -L/home/grass.src/grass5.0.1/src/libes/LIB.i686-pc-cygwin -o
> /home/grass.src/grass5.0.1/dist.i686-pc-cygwin/etc/bin/cmd/r.in.gdal
> OBJ.i686-pc-cygwin/main.o OBJ.i686-pc-cygwin/gbgetsymbol.o
> OBJ.i686-pc-cygwin/gdalbridge.o OBJ.i686-pc-cygwin/make_loc.o \
> 
> /usr/local/lib/gdal.a /usr/local/lib/ogr.a /usr/local/lib/gdal.a
> /usr/local/lib/cpl.a -lm -L/usr/local

Either:

1. Edit src/CMD/head/head.i686-pc-cygwin and add "-lstdc++" to the
value of GDAL_LIBS.

2. Edit src/raster/r.in.gdal/Gmakefile, and change "$(CC)" to "g++".

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list