[GRASS5] ogsf and nvis compile errors

Kirk R. Wythers kwythers at umn.edu
Mon Oct 25 11:39:10 EDT 2004


I'm getting a couple of errors after cvs updating this morning. This is  
on Mac OSX:

truffula:~/grass5_dev/grass57_cvs/lib/ogsf kirkw$ make
make: *** No rule to make target `Gvol.c', needed by  
`OBJ.powerpc-apple-darwin7.5.0/Gvol.o'.  Stop.

and

truffula:~/grass5_dev/grass57_cvs/visualization/nviz kirkw$ make
cd src ; make
gcc -I/Users/kirkw/grass5_dev/grass57_cvs/include  
-I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/ 
include -I/usr/X11R6/include -I/sw/include -g -O2  -Wall -Wconversion  
-Wno-implicit-int -I/usr/X11R6/include -I/sw/include   
-I/usr/X11R6/include   -I/Users/kirkw/grass5_dev/grass57_cvs/include  
-I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/ 
include -D_NO_PROTO -D__STDC__   -I/usr/local/include     
-I/Users/kirkw/grass5_dev/grass57_cvs/include  
-I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/ 
include \
         -o OBJ.powerpc-apple-darwin7.5.0/nvizAppInit.o -c nvizAppInit.c
<command line>:7:1: warning: "__STDC__" redefined
In file included from nvizAppInit.c:9:
interface.h:22:19: gsurf.h: No such file or directory
interface.h:23:21: gstypes.h: No such file or directory
In file included from nvizAppInit.c:9:
interface.h:86: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:87: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:88: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:90: error: `MAX_LIGHTS' undeclared here (not in a function)
nvizAppInit.c:43: warning: `RunScripts' defined but not used
make[1]: *** [OBJ.powerpc-apple-darwin7.5.0/nvizAppInit.o] Error 1
make: *** [nvwish] Error 2

Any thoughts?



Kirk R. Wythers	
Dept. of Forest Resources
University of Minnesota
email: kwythers at umn.edu
tel: 612.625.2261
fax: 612.625.5212




More information about the grass-dev mailing list