[GRASS-dev] nviz broken on G5 iMac

Michael Barton michael.barton at asu.edu
Mon Jul 17 14:17:08 EDT 2006


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/gras
s/gstypes.h:340,                 from
GS2.c:30:/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/inc
lude/grass/ogsf_proto.h:200: warning: parameter names (without types) in
function 
declaration/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/i
nclude/grass/ogsf_proto.h:201: error: parse error before
'GLuint'/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/incl
ude/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/gras
s/ogsf_proto.h:461: error: parse error before 'float'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:474: error: parse error before 'GLuint'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:494: error: parse error before 'GLuint'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:555: error: parse error before 'int'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:747: error: parse error before 'gsd_put_legend'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:747: error: parse error before 'GLuint'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/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/gras
s/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

anthgradpc7:~/grass_dev/grass6/visualization/nviz cmbarton$ make
cd src ; make
gcc 
-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
-I/usr/local/grasslib/include -I/usr/local/grasslib/include
-I/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include
-I/usr/local/grasslib/include   -I/usr/local/grasslib/include
-DPACKAGE=\""grassmods"\"
-I/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include \
        -o OBJ.powerpc-apple-darwin8.7.0/nvizAppInit.o -c nvizAppInit.c
In file included from togl.h:16,
                 from nvizAppInit.c:8:
togl_ws.h:14:3: error: #error None of OPENGL_X11, OPENGL_AQUA or
OPENGL_WINDOWS defined
In file included from nvizAppInit.c:8:
togl.h:53:23: error: GL/gl.h: No such file or directory
In file included from nvizAppInit.c:8:
togl.h:165: error: parse error before 'Togl_LoadBitmapFont'
togl.h:165: warning: data definition has no type or storage class
togl.h:166: error: parse error before 'GLuint'
togl.h:215: error: parse error before 'left'
In file included from
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/gstypes.h:340,
                 from interface.h:23,
                 from nvizAppInit.c:9:
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:200: warning: parameter names (without types) in function
declaration
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:201: error: parse error before 'GLuint'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:458: error: parse error before 'gsd_set_font'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/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/gras
s/ogsf_proto.h:461: error: parse error before 'float'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:474: error: parse error before 'GLuint'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:494: error: parse error before 'GLuint'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:555: error: parse error before 'int'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:747: error: parse error before 'gsd_put_legend'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/ogsf_proto.h:747: error: parse error before 'GLuint'
/Users/cmbarton/grass_dev/grass6/dist.powerpc-apple-darwin8.7.0/include/gras
s/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/gras
s/ogsf_proto.h:748: warning: parameter names (without types) in function
declaration
In file included from nvizAppInit.c:9:
interface.h:67: error: parse error before 'FontBase'
interface.h:67: warning: data definition has no type or storage class
interface.h:280: error: parse error before 'load_font'
interface.h:280: warning: data definition has no type or storage class
make[1]: *** [OBJ.powerpc-apple-darwin8.7.0/nvizAppInit.o] Error 1
make: *** [nvwish] Error 2
====================



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20060717/97b60bb9/attachment.html


More information about the grass-dev mailing list