[GRASS-dev] [bug #4768] (grass) nviz segfault on startup when
creating display window
William Kyngesburye
woklist at kyngchaos.com
Sat Jul 22 17:51:50 EDT 2006
Just for the heck of it, I tried today's CVS snapshot with an X11
build on Mac OS X. Uh, it's working now.
But wait, there's more - the X11 NVIZ also works on PPC AND Intel Mac
OS X. And since NVIZ and the wish used by the GUI are not related, I
was able to start the X11 NVIZ from the gis.m gui in Tcl/Tk Aqua.
NVIZ in X11 doesn't have the twitch in the browser like in Aqua, so I
could add rasters and vectors after the initial startup.
I'm using the same Universal Tcl/Tk 8.4.13 X11 build of mine from
June, as used in the bug report. Basically, nothing's changed.
Nothing new in the NVIZ or OGSF source (just the switches for X11/
Aqua/Win).
I did notice when I built it this time, the first run linked to
Apple's Tcl/Tk libraries, not my X11 build like it was supposed to,
and that gives the XQueryExtension crash. I saw that my Tcl/Tk was
missing the symlinks for libtcl.dylib/libtk.dylib to libtcl8.4.dylib/
libtk8.4.dylib, so -ltcl -ltk of course didn't find those to link to,
and moved on to Apple's in /usr/lib! After fixing that and
rebuilding NVIZ, success.
So, Mac X11 working. Now to figure out the Aqua side of things...
-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
More information about the grass-dev
mailing list