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

Glynn Clements glynn at gclements.plus.com
Tue Sep 16 02:28:33 EDT 2008


William Kyngesburye wrote:

> >>>> In addition to the other macpython + wx I mentioned, I installed
> >>>> PyOpenGl 3.0.0b5.
> >>>
> >>> This shouldn't be necessary to run OpenGL but maybe Martin is using
> >>> it for something.
> >>>
> >> nviz wouldn't run without it.
> >
> > Huh? What happens when you try?
> >
> I get an error that tells me I need it.  It comes from a try/except  
> block in gui_modules/nviz.py.

Right. That tries to import both modules, but doesn't actually use
them beyond setting the haveOpenGL variable. IOW, it appears to be
entirely gratuitous.

Please try uninstalling PyOpenGL, and removing that check from
nviz.py.

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


More information about the grass-dev mailing list