[GRASS-dev] errors compiling nviz in GRASS 7
Glynn Clements
glynn at gclements.plus.com
Mon Jul 7 14:08:25 EDT 2008
Michael Barton wrote:
> I found it and this may be the issue. This refers back to an issue
> that William raised with Martin over compiling for Mac. The OpenGL
> that GRASS uses is located in /usr/X11/include/GL/gl.h.
>
> That is, it uses the X11 version of GL for NVIZ. If the new lib is
> building for wxPython, then it needs an Aqua version of GL. I think
> that this exists, but still don't know where it is.
>
> Once we find it, however, we somehow need to have GRASS compile the
> old NVIZ (i.e., in TclTk) with the X11 GL and the new wxPython NVIZ to
> use the native Aqua version. This may make compiling on Mac somewhat
> more complicated.
Both depend upon lib/ogsf, which (I suspect) can only be compiled for
one particular version of OpenGL.
If you want to continue using NVIZ on the Mac, I strongly suggest that
you figure out how to get NVIZ working with the native OpenGL and
Tcl/Tk.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list