Compiling NVIZ2.2

Michael Schulz schulzm at perm.geologie.uni-freiburg.de
Fri Oct 1 07:34:13 EDT 1999


Hello Kurt !  

I had the same problem when compiling Nviz on Suse. "Tk_SafeInit" is
declared in tk8.0.h, but after installing the tcl/tk-Stuff with Suse, you
still have "old" tk.h and tcl.h (version 7.x). I symlinked the "new"
tk8.0.h to tk.h and backuped the "old" tk.h !

This worked for me! Perhaps it can help to fix your probelm !

Cheers, Michael


==============================================================
Michael Schulz

Christoph-Mang-Str.5       Geologisches Institut
79100 Freiburg             Universitaet Freiburg 
                           Albertstr. 23b
                           79104 Freiburg  


On Thu, 30 Sep 1999, Kurt Gerber wrote:

> Hi everybody
> After compiling grass5.0beta3 on SuSE 6.0 and Linux 2.2.9, I tried to compile
> NVIZ2.2. 
> It stopped with the following error:
> 
> In file included from togl.h:19,
>                  from tkAppInit.c:8:
> tkInt.h:800: parse error before `Tcl_Obj'
> tkAppInit.c: In function `Tcl_AppInit':
> tkAppInit.c:73: `Tk_SafeInit' undeclared (first use in this function)tkAppInit.c:73: (Each undeclared identifier is reported only once
> tkAppInit.c:73: for each function it appears in.)
> make[1]: *** [OBJ.i686-linux-elf/tkAppInit.o] Error 1
> make[1]: Leaving directory `/usr/src/grass5.0beta/src.contrib/GMSL/NVIZ2.2/src'
> make: *** [nvwish] Error 2  
> 
> It doesn't make sense to me, but because there is something with Tcl/tk in the
> Error Message, I installed a newer version of Tcl/Tk. I had version 8.04 and
> now I have 8.05 but compiling is still not working.
> 
> Kurt Gerber
> 



More information about the grass-user mailing list