Compiling NVIZ2.2
Kurt Gerber
kurt.gerber at datacomm.ch
Fri Oct 1 14:36:47 EDT 1999
Hi
I tried with your suggestion. I symlinked tk8.0.h with tk.h. But it didn't
work.
I've got the following error message:
5.0beta/src/include -c tkAppInit.c
In file included from tkAppInit.c:7:
/usr/X11R6/include/tk.h:1275: parse error before `Tcl_Obj'
/usr/X11R6/include/tk.h:1468: parse error before `Tcl_Obj'
/usr/X11R6/include/tk.h:1495: parse error before `Tcl_Obj'
/usr/X11R6/include/tk.h:1542: parse error before `Tcl_Obj'
/usr/X11R6/include/tk.h:1551: parse error before `Tcl_Obj'
In file included from togl.h:19,
from tkAppInit.c:8:
tkInt.h:800: parse error before `Tcl_Obj'
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
Cheers, Kurt
On Fri, 01 Oct 1999, Michael Schulz wrote:
>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