<HTML>
<HEAD>
<TITLE>error compiling nviz for Mac</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Today’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 -g -O2 -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 -I/Library/Frameworks/GDAL.framework/unix/include -DPACKAGE=\""grassmods"\" -I/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include \<BR>
-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 "Togl_LoadBitmapFont"<BR>
togl.h:165: warning: data definition has no type or storage class<BR>
togl.h:166: error: parse error before "GLuint"<BR>
togl.h:215: error: parse error before "left"<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>
from interface.h:23,<BR>
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 "GLuint"<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:458: error: parse error before "gsd_set_font"<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 "float"<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:474: error: parse error before "GLuint"<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:494: error: parse error before "GLuint"<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:498: error: parse error before "GLuint"<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:556: error: parse error before "int"<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:748: error: parse error before "gsd_put_legend"<BR>
/Users/amiller1/grass6/dist.powerpc-apple-darwin8.9.0/include/grass/ogsf_proto.h:748: error: parse error before "GLuint"<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 "FontBase"<BR>
interface.h:67: warning: data definition has no type or storage class<BR>
interface.h:280: error: parse error before "load_font"<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 & Social Change <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>