[GRASS-dev] nviz compile errors on Mac OS X

Glynn Clements glynn at gclements.plus.com
Wed Sep 17 03:26:05 EDT 2008


Michael Barton wrote:

> >> wxNviz uses the GLCanvas, which requires PyOpenGL. Note that wxPython
> >> does not need PyOpenGL, but GLCanvas does.
> >
> > Odd; I don't see an "import" statement for it in wx/glcanvas.py, nor
> > anything in the code which appears to use it.
> >
> > Have you actually checked that it needs PyOpenGL?
> 
> Well, it *used* to require PyOpenGL. I have not checked in the current  
> version. Maybe it doesn't anymore, which is good. We may need to  
> conditionalize PyOpenGL as a dependency if older versions of wxPython  
> are used.

I uninstalled PyOpenGL, and the wx nviz tool still works (after
changing the grass6 references to grass7). So I've removed the checks
for OpenGL.GL and OpenGL.GLU.

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


More information about the grass-dev mailing list