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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to