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

Markus Neteler neteler at itc.it
Mon Aug 22 00:34:40 EDT 2005


On Fri, Aug 19, 2005 at 06:23:50PM -0700, Jonathan Greenberg wrote:
> 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

it asks for proj_api.h - did you install PROJ4 including the
header files?

Markus




More information about the Gdal-dev mailing list