[GRASS-dev] debugging nviz with TclTk 8.5 aqua
Michael Barton
michael.barton at asu.edu
Sun Jul 27 03:42:31 EDT 2008
On Jul 26, 2008, at 9:36 PM, William Kyngesburye wrote:
>
>> NVIZ seems to use its own version of wish that must be coded into a
>> C module somewhere. I certainly can't find it. But must be finding
>> wish somewhere. If that path could be redirected to whatever
>> GRASS_WISH is, then both GRASS and NVIZ could be in sync. The only
>> fly in this ointment would be if Togl must have the same version of
>> wish available (somewhere) that it was compiled against AND needs
>> other TclTk files in addition to wish.
>>
> That's probably some application API thing in tcltk. NVIZ just
> needs the tcl and tk libraries that it was compiled with.
From what I can gather of the nviz source code, it makes its own wish
equivalent. So it will run with whatever it is compiled with
regardless of what is on the system--or in any $GISBASE folder--after
compilation. If this is so, an aqua version could be compiled against
8.5 aqua, with wish8.5 aqua included with the binary--and nothing else
needed. An x11 version could be compiled against 8.5 (or 8.4 I
suppose) x11 and wish 8.5 x11 included.
Michael
More information about the grass-dev
mailing list