[GRASS-dev] debugging nviz with TclTk 8.5 aqua

Glynn Clements glynn at gclements.plus.com
Sun Jul 27 19:59:56 EDT 2008


William Kyngesburye 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.

The easiest way to find which sources need updating is to compile and
see where the errors occur.

> > I have also cleaned up the --with-opengl=aqua case, and added a
> > --with-opengl-framework= switch (the paths are no longer hard-coded).

Er, I added the check but forgot to actually add the switch.

> Oops, now all the platform.make vars for opengl are empty, except  
> OPENGL_AQUA and USE_OPENGL.

Right. It's setting OPENGLLIBS, when it should be OPENGLLIB.

Fixed (hopefully) in SVN.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list