[GRASS5] nviz / tcl compile problem

M Lennert fa1079 at qmul.ac.uk
Wed Feb 13 05:22:44 EST 2002


Hello,

I have trouble compiling nviz. Here's the message just before the compiler stops:

****snip*****
 -I/home/mlennert/SRC/grass/src/include -O3 -mcpu=pentium -Wall   -I/usr/X11R6/include -I/usr/include/tcl8.2 -I/usr/include/tcl8.2 -
I/home/mlennert/SRC/grass/src/libes/ogsf  -D_NO_PROTO -D__STDC__   -I/usr/include/postgresql  -c togl.c -o OBJ.i586-pc-linux-gnu/togl.o
In file included from togl.c:146:
tkInt8.2.3.h:36: conflicting types for `Tk_PostscriptInfo'
/usr/include/tcl8.2/tk.h:116: previous declaration of `Tk_PostscriptInfo'
togl.c: In function `Togl_Cmd':
togl.c:1088: warning: `main' is usually a function
make[1]: *** [OBJ.i586-pc-linux-gnu/togl.o] Error 1
make[1]: Leaving directory `/home/mlennert/SRC/grass/src.contrib/GMSL/NVIZ2.2/src'
make: *** [nvwish] Error 2
*****snip*****

It sounds like a problem linked to the tcl versions (as you can see I have 8.2)

Could someone help me with this ?

Moritz



More information about the grass-dev mailing list