I just compiled a cvs version I updated a few minutes ago, and nviz bombed. The rest of GRASS runs OK. I tried to start nviz just to see what is happening. It started the OSX tcltk aqua and then crashed.
I’m using a G5 iMac (not Intel) with OS X 10.4.7.
I’m putting the compiler errors below. Problems both with OGSF and NVIZ.
Michael
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
=======================
Errors in:
/Users/cmbarton/grass_dev/grass6/lib/ogsf
anthgradpc7:~/grass_dev/grass6/lib/ogsf cmbarton$ makegcc -I/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include -I/usr/local/grasslib/include -g -O2 -I/usr/local/grasslib/include -fno-common -DPACKAGE="“grasslibs”" -I/usr/local/grasslib/include -I/usr/X11R6/include -DPACKAGE="“grasslibs”" -I/usr/X11R6/include -I/usr/local/grasslib/include -I/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include \ -o OBJ.powerpc-apple-darwin8.7.0/GS2.o -c GS2.cIn file included from /Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/gstypes.h:340, from GS2.c:30:/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:200: warning: parameter names (without types) in function declaration/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:201: error: parse error before ‘GLuint’/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:458: error: parse error before ‘gsd_set_font’/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:458: warning: data definition has no type or storage class
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:461: error: parse error before ‘float’
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:474: error: parse error before ‘GLuint’
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:494: error: parse error before ‘GLuint’
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:555: error: parse error before ‘int’
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:747: error: parse error before ‘gsd_put_legend’
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:747: error: parse error before ‘GLuint’
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:747: warning: data definition has no type or storage class
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/grass/ogsf_proto.h:748: warning: parameter names (without types) in function declaration
GS2.c:47: error: parse error before ‘*’ token
GS2.c: In function ‘GS_set_Narrow’:
GS2.c:436: error: ‘GLdouble’ undeclared (first use in this function)
GS2.c:436: error: (Each undeclared identifier is reported only once
GS2.c:436: error: for each function it appears in.)
GS2.c:436: error: parse error before ‘modelMatrix’
GS2.c:437: error: ‘GLint’ undeclared (first use in this function)
GS2.c:458: error: ‘GL_MODELVIEW_MATRIX’ undeclared (first use in this function)
GS2.c:458: error: ‘modelMatrix’ undeclared (first use in this function)
GS2.c:459: error: ‘GL_PROJECTION_MATRIX’ undeclared (first use in this function)
GS2.c:459: error: ‘projMatrix’ undeclared (first use in this function)
GS2.c:460: error: ‘GL_VIEWPORT’ undeclared (first use in this function)
GS2.c:460: error: ‘viewport’ undeclared (first use in this function)
GS2.c:463: error: parse error before ‘out_near’
GS2.c:469: error: parse error before ‘pt’
GS2.c:472: error: parse error before ‘pt’
GS2.c:478: error: ‘factor’ undeclared (first use in this function)
GS2.c:478: error: ‘out_near’ undeclared (first use in this function)
GS2.c:478: error: ‘out_far’ undeclared (first use in this function)
GS2.c:480: error: ‘out’ undeclared (first use in this function)
GS2.c: At top level:
GS2.c:673: error: parse error before ‘GLuint’
GS2.c: In function ‘GS_draw_legend’:
GS2.c:680: error: ‘name’ undeclared (first use in this function)
GS2.c:680: error: ‘fontbase’ undeclared (first use in this function)
GS2.c:680: error: ‘size’ undeclared (first use in this function)
GS2.c:680: error: ‘flags’ undeclared (first use in this function)
GS2.c:680: error: ‘range’ undeclared (first use in this function)
GS2.c:680: error: ‘pt’ undeclared (first use in this function)
GS2.c: At top level:
GS2.c:686: error: parse error before ‘list_id’
GS2.c: In function ‘GS_draw_list’:
GS2.c:692: error: ‘list_id’ undeclared (first use in this function)
GS2.c: At top level:
GS2.c:710: error: parse error before ‘list_id’
GS2.c: In function ‘GS_delete_list’:
GS2.c:713: error: ‘list_id’ undeclared (first use in this function)
GS2.c: In function ‘GS_zoom_setup’:
GS2.c:2400: error: ‘GLint’ undeclared (first use in this function)
GS2.c:2400: error: parse error before ‘tmp’
GS2.c:2402: error: ‘tmp’ undeclared (first use in this function)
GS2.c:2402: error: ‘num’ undeclared (first use in this function)
GS2.c: In function ‘GS_init_view’:
GS2.c:2806: error: ‘GL_MODELVIEW’ undeclared (first use in this function)
GS2.c:2826: error: ‘GL_DEPTH_TEST’ undeclared (first use in this function)
GS2.c:2827: error: ‘GL_LEQUAL’ undeclared (first use in this function)
GS2.c: In function ‘GS_clear’:
GS2.c:2887: error: ‘GL_DEPTH_BUFFER_BIT’ undeclared (first use in this function)
GS2.c:2887: error: ‘GL_COLOR_BUFFER_BIT’ undeclared (first use in this function)
GS2.c: In function ‘GS_get_aspect’:
GS2.c:2900: error: ‘GLint’ undeclared (first use in this function)
GS2.c:2900: error: parse error before ‘tmp’
GS2.c:2912: error: ‘GL_VIEWPORT’ undeclared (first use in this function)
GS2.c:2912: error: ‘tmp’ undeclared (first use in this function)
make: *** [OBJ.powerpc-apple-darwin8.7.0/GS2.o] Error 1
Errors in:
/Users/cmbarton/grass_dev/grass6/visualization/nviz