[GRASSLIST:729] Re: Trouble compiling NVIZ

Magnus Rogde magnus.rohde at geo.au.dk
Wed Jul 16 02:50:08 EDT 2003


On tirsdag, jul 15, 2003, at 20:46 Europe/Copenhagen, David Mahoney 
wrote:


> 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?

I had the same problem, and I reported it as a bug, see 
http://intevation.de/rt/webrt?serial_num=2009

Magnus




More information about the grass-user mailing list