[GRASS-dev] debugging nviz with TclTk 8.5 aqua
William Kyngesburye
woklist at kyngchaos.com
Wed Jul 23 22:23:08 EDT 2008
Lookie what I got. This is the initial screen:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture-01.png
Type: image/png
Size: 13567 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20080723/ae015f9a/Picture-01-0001.png
-------------- next part --------------
Odd. Also, the titlebar was under the menubar. After moving the
window, it's better:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture-02.png
Type: image/png
Size: 24689 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20080723/ae015f9a/Picture-02-0001.png
-------------- next part --------------
From here on it worked without problem, except an error about an
unknown option -label when I click the show/hide panels button. The
only visual issue besides the startup is the truncated menus.
On Jul 23, 2008, at 7:40 PM, William Kyngesburye wrote:
> On Jul 23, 2008, at 7:16 PM, Michael Barton wrote:
>
>> I also have TclTk libs in /usr/local/lib, but these are not links.
>> Maybe I should delete them? I'm not sure if go to the x11 install
>> that I need for compiling the 'normal' TclTk GUI (the one installed
>> following your instructions in the README file with most files
>> located in /usr/local/tcltk).
>>
> otool -L /usr/local/lib/libtk8.4.dylib
>
> (or 8.5 if they are 8.5)
>
> This will tell you if it's linked to X11.
>
>>> Then just add --with-tcltk-libs=/usr/local/lib to your configure.
>>
>> Maybe --with-tcltk-libs=/usr/lib ??
>>
> NO. That's the system tcltk.
>
>> What about the environmental setting for 8.5? Just not run it or
>> set it to 8.4?
>>
> I just started looking at 8.5. What I found so far for the aqua
> framework build:
>
> - it includes the private headers we need by default, but in a
> separate subfolder:
>
> Tk.framework/PrivateHeaders
>
> - it does NOT install /usr/local/lib symlinks. So to account for a
> default tcltk aqua, we need to look into the configure idea I had
> earlier.
>
> - while they have 64bits working for an X11 build, they don't have
> it working for an Aqua build, so we won't get a 64bit tcl-based nviz.
>
>
> For an immediate fix:
>
> Configure with the --with-tcltk-includes as:
>
> --with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers /
> Library/Frameworks/Tk.framework/Headers /Library/Frameworks/
> Tk.framework/PrivateHeaders" --with-opengl=aqua
>
> you can ignore --with-tcltk-libs. BEFORE make, edit include/make/
> platform.make and replace the TCLTKLIBS line with:
>
> TCLTKLIBS = -framework Tcl -framework Tk
>
> then make.
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> All generalizations are dangerous, even this one.
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Oh, look, I seem to have fallen down a deep, dark hole. Now what
does that remind me of? Ah, yes - life."
- Marvin
More information about the grass-dev
mailing list