[GRASSLIST:726] Trouble compiling NVIZ

David Mahoney mahoneyd at unbc.ca
Tue Jul 15 14:46:02 EDT 2003


I am trying to compile NVIZ on MacOSX 10.2.6, GRASS 5.0.2 and tcl/tk 
8.4. I get this error.

gcc -I/Users/dave/grass5.0.2/src/include -g -O2   -I/sw/include 
-I/usr/X11R6/include   -I/Users/dave/grass5.0.2/src/libes/ogsf  
-D_NO_PROTO -D__STDC__   -I/sw/include/postgresql/libpq  -c 
nvizAppInit.c -o OBJ.powerpc-apple-darwin6.6/nvizAppInit.o
In file included from nvizAppInit.c:9:
interface.h:257: conflicting types for `Tk_SetAppName'
/sw/include/tkDecls.h:573: previous declaration of `Tk_SetAppName'
make: *** [OBJ.powerpc-apple-darwin6.6/nvizAppInit.o] Error 1

How can I resolve this?

Dave




More information about the grass-user mailing list