nviz2.2 compile problem

Eric G . Miller egm2 at jps.net
Sat Dec 18 10:13:12 EST 1999


One of these days, I'll get a working NVIZ...

So, I tried to compile NVIZ from the grass5 beta 5 release and received
the following error (BTW, everything else compiled fine except many
warnings about incompatible pointer types to qsort() -- good work
folks!).

<BEGIN ERRORS>

gcc -g -O2 -fwritable-strings
-I/usr/local/src/grass5.0beta/src/libes/ogsf
-I/usr/local/src/grass5.0beta/src/mapdev/Vlib
-I/usr/local/src/grass5.0beta/src/mapdev/diglib -D_NO_PROTO -D__STDC__
-I/usr/include -I/usr/include/GL -I/usr/include/X11
-DSRC_BOOT=\"/usr/local/grass5.0/etc/nviz2.2/scripts\" -I
/usr/local/src/grass5.0beta/src/libes/LIB.i686-linux-elf/libgis.a
-I/usr/local/src/grass5.0beta/src/include  -c tkAppInit.c
In file included from tkPort.h:34,
                 from tkInt.h:28,
                 from togl.h:19,
                 from tkAppInit.c:8:
tkUnixPort.h:185: conflicting types for `Tcl_Panic'
/usr/include/tclDecls.h:38: previous declaration of `Tcl_Panic'
In file included from togl.h:19,
                 from tkAppInit.c:8:
tkInt.h:42: conflicting types for `Tk_PostscriptInfo'
/usr/include/tk.h:116: previous declaration of `Tk_PostscriptInfo'
make[1]: *** [OBJ.i686-linux-elf/tkAppInit.o] Error 1
make[1]: Leaving directory
`/usr/local/src/grass5.0beta/src.contrib/GMSL/NVIZ2.2/src'
make: *** [nvwish] Error 2

<END ERRORS>

I made sure I got the tcl/tk 8.0 developement files -- apparently NVIZ
won't compile against 8.2 (so I removed them). So, I'm at a loss.  I
tried changing the names of all of the Tk header files that came with
NVIZ that are also in the standard Tk 8.0 -- but it still errors. Any
pointers?

-- 
+----------------------------------------------------+
| Eric G. Miller                        egm2 at jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
+----------------------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/19991218/d13e8955/attachment.bin


More information about the grass-user mailing list