[GRASS-user] Error compiling vdigit support in wxgrass: make
cannot find -lgdi
Patton, Eric
epatton at nrcan.gc.ca
Wed Apr 23 10:03:22 EDT 2008
>take a look at gui/wxpython/README
>
-> 7 - DIGITIZATION TOOL
>
>it is just a link to wxPython extension, still unsolved issue. You
>need to create a symlink for now.
>
>Martin
Thanks for the link. I created a symlink to the file in question:
$ cd /usr/local/lib
$ ls -rlt
lrwxrwxrwx 1 root root 64 2008-04-23 09:15 libgdi.so -> /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so
However, when I try to run the vdigit module in the map display window, I get an error with the following traceback:
Traceback (most recent call last):
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/to
olbars.py", line 182, in OnSelect
self.mapdisplay.AddToolbar("digit")
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 2399, in AddToolbar
self.digittoolbar = toolbars.DigitToolbar(self, self.Map,
self.tree)
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/to
olbars.py", line 298, in __init__
self.UpdateListOfLayers(updateTool=True)
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/to
olbars.py", line 831, in UpdateListOfLayers
self.combo = wx.ComboBox(self.toolbar[self.numOfRows-1],
id=wx.ID_ANY, value=value,
TypeError
:
'ToolBar' object is unindexable
~ Eric.
More information about the grass-user
mailing list