[GRASS-dev] debugging nviz with TclTk 8.5 aqua

William Kyngesburye woklist at kyngchaos.com
Sun Jul 27 19:12:47 EDT 2008


On Jul 27, 2008, at 5:37 PM, Glynn Clements wrote:

> The way it's done for OpenGL is:
>
> #if defined(OPENGL_X11) || defined(OPENGL_WINDOWS)
> #include <GL/gl.h>
> #endif
> #ifdef OPENGL_AQUA
> #include <OpenGL/gl.h>
> #endif
>
> I have changed configure and associated files to treat Tcl/Tk
> similarly to OpenGL.
>
> --with-tcltk now accepts x11/win/osx (and aliases) as an argument.
>
> TCLTK_{X11,AQUA,WINDOWS} are now defined in Platform.make and
> config.h.
>
Cool, that works.  I also tested configuring with aqua *and* setting  
the framework path, looks right.

I haven't run a compile yet - I didn't see any of the sources that  
include the tcltk headers get updated yet.

> I have also cleaned up the --with-opengl=aqua case, and added a
> --with-opengl-framework= switch (the paths are no longer hard-coded).
>
Oops, now all the platform.make vars for opengl are empty, except  
OPENGL_AQUA and USE_OPENGL.


-----
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