[GRASS-dev] compilation success

Michael Barton michael.barton at asu.edu
Wed Oct 8 17:40:38 EDT 2008


I just updated GRASS 6.4 from the SVN and compiled. I had to compile  
the wxPython nviz and vdigit manually, but all compiled. This is very  
good news. The bad news is that neither vdigit nor nviz yet work.

When I try vdigit, I still get a "Unable to initialize display driver"  
error.

When I try the new nviz, I nothing happens visually, but I get the  
following in the layer manager output window.

Traceback (most recent call last):
   File "/Applications/Grass/GRASS-6.4.app/Contents/MacOS/etc
/wxpython/gui_modules/toolbars.py", line 250, in
OnSelectTool

self.mapdisplay.AddToolbar("nviz")
   File "/Applications/Grass/GRASS-6.4.app/Contents/MacOS/etc
/wxpython/gui_modules/mapdisp.py", line 2701, in AddToolbar

import nviz
   File "/Applications/Grass/GRASS-6.4.app/Contents/MacOS/etc
/wxpython/gui_modules/nviz.py", line 49, in <module>

import nviz_mapdisp
   File "/Applications/Grass/GRASS-6.4.app/Contents/MacOS/etc
/wxpython/gui_modules/nviz_mapdisp.py", line 40, in <module>

import grass6_wxnviz as wxnviz
   File "/Applications/Grass/GRASS-6.4.app/Contents/MacOS/etc
/wxpython/nviz/grass6_wxnviz.py", line 7, in <module>

import _grass6_wxnviz
ImportError
:
dynamic module does not define init function
(init_grass6_wxnviz)

===================

I have removed MacPython and am using the Python 2.5.2 that comes with  
my Mac. I installed wxPython 2.8.9.1 and it works fine with the native  
Python.

Michael


More information about the grass-dev mailing list