[Gdal-dev] Compiling GDAL 1.3.0 with GRASS support under CYGWIN?

Jonathan Greenberg jgreenberg at arc.nasa.gov
Fri Aug 19 21:23:50 EDT 2005


I'm trying to install GDAL 1.3.0 with grass support under CYGWIN for windows
-- I have the grass 6.1-cvs version installed from the binary release in the
CYGWIN package manager (it installs GDAL 1.2.3 I think).  When I give the
flag --with-grass=/usr/local/grass6.1.cvs command, it configures fine, but
when I get to the make, I get this error :

make -C grass install-obj
make[2]: Entering directory
`/home/jonathan/gdal-1.3.0/gdal-1.3.0/frmts/grass'
/bin/sh.exe ../../libtool --mode=compile g++ -Wall  -D_FILE_OFFSET_BITS=64
-I/usr/local/grass6.1.cvs/include -I../../port -I../../gcore -I../../alg
-I../../ogr -I../../ogr/ogrsf_frmts -D_FILE_OFFSET_BITS=64 -I../../port  -c
-o ../o/grass57dataset.o grass57dataset.cpp
 g++ -Wall -D_FILE_OFFSET_BITS=64 -I/usr/local/grass6.1.cvs/include
-I../../port -I../../gcore -I../../alg -I../../ogr -I../../ogr/ogrsf_frmts
-D_FILE_OFFSET_BITS=64 -I../../port -c grass57dataset.cpp  -DPIC -o
../o/.libs/grass57dataset.o
In file included from grass57dataset.cpp:60:
/usr/local/grass6.1.cvs/include/gprojects.h:20:22: proj_api.h: No such file
or directory
In file included from grass57dataset.cpp:60:
/usr/local/grass6.1.cvs/include/gprojects.h:31: error: ISO C++ forbids
declaration of `projPJ' with no type
/usr/local/grass6.1.cvs/include/gprojects.h:31: error: expected `;' before
'*' token
make[2]: *** [../o/grass57dataset.o] Error 1
make[2]: Leaving directory
`/home/jonathan/gdal-1.3.0/gdal-1.3.0/frmts/grass'
make[1]: *** [grass-install-obj] Error 2
make[1]: Leaving directory `/home/jonathan/gdal-1.3.0/gdal-1.3.0/frmts'
make: *** [frmts-target] Error 2

--j

--

Jonathan A. Greenberg, PhD
NRC Research Associate
NASA Ames Research Center
MS 242-4
Moffett Field, CA 94035-1000
Office: 650-604-5896
Cell: 415-794-5043
AIM: jgrn307
MSN: jgrn307 at hotmail.com






More information about the Gdal-dev mailing list