[GRASS-dev] compile error in grass-6.4.0RC1/gui/wxpython

Glynn Clements glynn at gclements.plus.com
Fri Jan 9 11:18:41 EST 2009


Martin Landa wrote:

> > /usr/src/packages/BUILD/grass-6.4.0RC1/gui/wxpython/vdigit# make
> > ...
> > /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find
> > -lgdi
> >
> > is there a chance to have another solution for this wxpython vdigit problem,
> > than to create a symlink to _gdi_.so shared library? This seems to be quite
> > difficult to solve / implement in a spec file.
> >
> > Maybe someone already has a solution for that?
> 
> currently no, see
> 
> http://trac.osgeo.org/grass/ticket/58
> 
> I still hope reasonable solution will be found before 6.4.0.

The solution is to take the wxPseudoDC code, change the name to avoid
conflicts, then add it to gui/wxpython/vdigit.

If the wxPython developers wanted you to use _gdi_.so as a normal
library, they would have named it libgdi.so.

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


More information about the grass-dev mailing list