[gdal-dev] GDAL 1.5.0 Build Error With GRASS Support

marco.pasetti at alice.it marco.pasetti at alice.it
Tue Mar 4 12:00:30 EST 2008


Hi,
 
I'm building GDAL 1.5.0 with GRASS support;
it gives the following error:
 
In file included from grass57dataset.cpp:45:
C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:23:22: proj_api.h: No such file or directory
In file included from grass57dataset.cpp:45:
C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:36: error: ISO C++ forbids declaration of `projPJ' with no type
C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:36: error: expected `;' before '*' token
make[2]: *** [../o/grass57dataset.o] Error 1
make[2]: Leaving directory `/usr/local/src/gdal-1.5.0/frmts/grass'
make[1]: *** [grass-install-obj] Error 2
make[1]: Leaving directory `/usr/local/src/gdal-1.5.0/frmts'
make: *** [frmts-target] Error 2
 
proj_api.h is present in /usr/local/include, while /usr/local/grass-6.3.0RC5/include/grass has gproj_api.h
should I force GRASS code to include gproj_api.h instead of proj_api.h or walk around the problem adding /usr/local/include to PATH before launch make command?
 
Thanks
 
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080304/293f7ed8/attachment.html


More information about the gdal-dev mailing list