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

Michael Barton michael.barton at asu.edu
Tue Sep 16 14:29:55 EDT 2008



On Sep 15, 2008, at 11:34 PM, Glynn Clements wrote:

>
> Michael Barton 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?
>>
>> 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.

Michael

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



More information about the grass-dev mailing list