[GRASS-dev] New OpenGL options to test for native Mac and Win NVIZ
Glynn Clements
glynn at gclements.plus.com
Thu Jul 20 02:50:50 EDT 2006
William Kyngesburye wrote:
> >>>> And, gis.m (any Tcl scripts) will also use the Aqua Tcl.
> >>>
> >>> gis.m is a pure Tcl/Tk application (rather than hybrid C & Tcl/
> >>> Tk), so
> >>> it will use the "wish" executable specified by $GRASS_WISH (or
> >>> whichever one comes first in the path), regardless of which
> >>> configure
> >>> switches are used.
> >>
> >> Right. But doesn't NVIZ also use whichever wish is set with
> >> GRASS_WISH?
> >
> > No. NVIZ is a C program which links against the Tcl/Tk libraries; it
> > doesn't use wish.
> >
> Ah. Oh. Right. I sorta knew NVIZ was a binary, not a script. I just
> didn't relate that to how it used Tcl/Tk ^_^
>
> So the compiling and linking and versions for Tcl/Tk stuff only
> matters for NVIZ.
And etc/form, used by v.digit and d.what.vect.
> If Tcl/Tk wasn't used at all in configure and
> building, one could still run the Tcl scripts for the GUI?
Correct; d.m and gis.m would still work. They will still be installed
even if --without-tcltk was used or if Tcl/Tk wasn't installed on the
build system.
> Or, as you say, use any copy or version of wish/Tcltk one wanted regardless
> of what NVIZ was built with (within reason as far as other version/
> platform issues go). But NVIZ would still have to have the same
> version and X11/AGL/WGL build of Tcl/Tk, of course.
NVIZ would need shared Tcl/Tk libraries which were compatible with
those for which it was compiled, which isn't far short of saying that
it needs exactly the same libraries.
> Might they get confused running side-by-side? ie NVIZ with Aqua Tcl/
> Tk + gis.m with X11 wish.
No. There's no connection at all between NVIZ and gis.m.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list