[GRASSLIST:2653] Re: problems compiling nviz 2.2

Glynn Clements glynn.clements at virgin.net
Mon Feb 16 05:54:24 EST 2004


dylan wrote:

> i have tried searching the archives, but have not been able to figure out
> what is causing this error when compiling NVIZ 2.2 (from the GRASS 5.0.3
> src)
> 
> here is what happens:
> in the NVIS dir:
> $>gmake5
> ...
> lots of compiling stuff
> ...
> about 50 lines of:
> init_commands.c:309: warning: passing arg 3 of `Tcl_CreateCommand' from
> incompatible pointer type
> ...
> In file included from togl.c:65:
> tkInt8.0.2.h:35: conflicting types for `Tk_PostscriptInfo'
> /usr/include/tk.h:109: previous declaration of `Tk_PostscriptInfo'
> make[1]: *** [OBJ.i686-pc-linux-gnu/togl.o] Error 1
> make[1]: Leaving directory
> `/home/dylan/src/grass-5.0.3/src.contrib/GMSL/NVIZ2.2/src'
> make: *** [nvwish] Error 2

The corresponding line has been commented out in tkInt8.0.h; I suggest
doing likewise for tkInt8.0.2.h.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list