<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I'm building GDAL 1.5.0 with GRASS support;</FONT></DIV>
<DIV><FONT size=2>it gives the following error:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>In file included from grass57dataset.cpp:45:<BR>C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:23:22: proj_api.h: No such file or directory<BR>In file included from grass57dataset.cpp:45:<BR>C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:36: error: ISO C++ forbids declaration of `projPJ' with no type<BR>C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:36: error: expected `;' before '*' token<BR>make[2]: *** [../o/grass57dataset.o] Error 1<BR>make[2]: Leaving directory `/usr/local/src/gdal-1.5.0/frmts/grass'<BR>make[1]: *** [grass-install-obj] Error 2<BR>make[1]: Leaving directory `/usr/local/src/gdal-1.5.0/frmts'<BR>make: *** [frmts-target] Error 2</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face="Courier New">proj_api.h</FONT> is present in <FONT face="Courier New">/usr/local/include</FONT>, while <FONT face="Courier New">/usr/local/grass-6.3.0RC5/include/grass</FONT> has <FONT face="Courier New">gproj_api.h</FONT></FONT></DIV>
<DIV><FONT size=2>should I force GRASS code to include <FONT face="Courier New">gproj_api.h</FONT> instead of <FONT face="Courier New">proj_api.h</FONT> or walk around the problem adding <FONT face="Courier New">/usr/local/include</FONT> to <FONT face="Courier New">PATH</FONT> before launch <FONT face="Courier New">make</FONT> command?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Marco</FONT></DIV></FONT></DIV></BODY></HTML>