[GRASS-dev] debugging nviz with TclTk 8.5 aqua

Michael Barton michael.barton at asu.edu
Wed Jul 23 22:47:50 EDT 2008


This is pretty cool.

The start of this thread was the issue that to compile the new  
wxPython nviz, we need to have native OGL, without windows. So I'll  
try to see if I can replicate this.

Now that it looks like it works in 8.4, what do you think about trying  
it in 8.5 where some of the visual issues have been resolved? Would  
this be difficult? NVIZ might not work, but it could be worth a try to  
see.

Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>



On Jul 23, 2008, at 7:23 PM, William Kyngesburye wrote:

> Lookie what I got.  This is the initial screen:
>
> <Picture-01.png>
>
>
> Odd.  Also, the titlebar was under the menubar.  After moving the  
> window, it's better:
>
> <Picture-02.png>
>
>
> 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