<HTML>
<HEAD>
<TITLE>error compiling nviz for Mac</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Today&#8217;s update from the cvs has a problem compiling nviz. It probably has to do with issues recently discussed on the developer list.<BR>
<BR>
Configure can no longer automatically find Open GL includes, even though Open GL is set to x11 and Open GL libs are specified. If I add a configure option for gl includes (/usr/X11R6/include) it configures fine.<BR>
<BR>
When we run make, there is an error compiling nviz. Going to the nviz directory and running make there produces the following error.<BR>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Helvetica, Verdana, Arial">Medland-G5:~/grass6/visualization/nviz amiller1$ make<BR>
cd src ; make<BR>
gcc -I/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include &nbsp;-g -O2 &nbsp;&nbsp;&nbsp;-I/usr/local/tcltk/include -I/usr/local/tcltk/include -I/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include -I/Library/Frameworks/UnixImageIO.framework/unix/include &nbsp;&nbsp;-I/Library/Frameworks/GDAL.framework/unix/include &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-DPACKAGE=\&quot;&quot;grassmods&quot;\&quot; &nbsp;-I/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include \<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o OBJ.powerpc-apple-darwin8.9.0/nvizAppInit.o -c nvizAppInit.c<BR>
In file included from nvizAppInit.c:8:<BR>
togl.h:53:23: error: GL/gl.h: No such file or directory<BR>
In file included from nvizAppInit.c:8:<BR>
togl.h:165: error: parse error before &quot;Togl_LoadBitmapFont&quot;<BR>
togl.h:165: warning: data definition has no type or storage class<BR>
togl.h:166: error: parse error before &quot;GLuint&quot;<BR>
togl.h:215: error: parse error before &quot;left&quot;<BR>
In file included from nvizAppInit.c:9:<BR>
interface.h:15:20: error: GL/glu.h: No such file or directory<BR>
In file included from /Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/gstypes.h:340,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from interface.h:23,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from nvizAppInit.c:9:<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:200: warning: parameter names (without types) in function declaration<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:201: error: parse error before &quot;GLuint&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:458: error: parse error before &quot;gsd_set_font&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:458: warning: data definition has no type or storage class<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:461: error: parse error before &quot;float&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:474: error: parse error before &quot;GLuint&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:494: error: parse error before &quot;GLuint&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:498: error: parse error before &quot;GLuint&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:556: error: parse error before &quot;int&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:748: error: parse error before &quot;gsd_put_legend&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:748: error: parse error before &quot;GLuint&quot;<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:748: warning: data definition has no type or storage class<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:749: warning: parameter names (without types) in function declaration<BR>
In file included from nvizAppInit.c:9:<BR>
interface.h:67: error: parse error before &quot;FontBase&quot;<BR>
interface.h:67: warning: data definition has no type or storage class<BR>
interface.h:280: error: parse error before &quot;load_font&quot;<BR>
interface.h:280: warning: data definition has no type or storage class<BR>
make[1]: *** [OBJ.powerpc-apple-darwin8.9.0/nvizAppInit.o] Error 1<BR>
make: *** [nvwish] Error 2<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"><BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution &amp; Social Change &nbsp;&nbsp;&nbsp;<BR>
Center for Social Dynamics and Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
</FONT></SPAN>
</BODY>
</HTML>