[GRASSLIST:5639] Re: gdal on cygwin errors

Paul Dymecki millardymecki at sympatico.ca
Sat Feb 22 11:14:40 EST 2003


Yes number 1 below worked(plus deleteing a few extraneous /usr/local/lib
paths from the GDAL_LIBS var).  As i'm a first time user of GRASS i won't
say any more until i've produced some useful output though.(ie the code
compiled and ran r.in.gdal in=myfile.jpg out=GRASSRaster
Thanks,
Paul
----- Original Message -----
From: "Glynn Clements" <glynn.clements at virgin.net>
To: "Paul Dymecki" <millardymecki at sympatico.ca>
Cc: "Frank Warmerdam" <warmerdam at pobox.com>; <GRASSLIST at baylor.edu>
Sent: Friday, February 21, 2003 2:56 PM
Subject: [GRASSLIST:5637] Re: gdal on cygwin errors


>
> 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