[GRASSLIST:8011] Re: Compiling GDAL 1.3.0 with GRASS support under CYGWIN?

Paul Kelly paul-grass at stjohnspoint.co.uk
Mon Aug 22 04:03:23 EDT 2005


Hello Jonathan

On Fri, 19 Aug 2005, 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
                                                      ^^^^^^^^^^^
proj_api.h is included with the PROJ.4 distribution and should be 
installed with it. Is your PROJ installed properly, i.e. is proj_api.h in 
a system-wide include directory? (usually /usr/include or 
/usr/local/include would be included).

Paul

> 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 grass-user mailing list