[GRASS-dev] any idea about these python libraries?

Glynn Clements glynn at gclements.plus.com
Mon Jun 1 01:28:48 EDT 2009


William Kyngesburye wrote:

> >> I found that wx nviz and vdigit *did* link the wx libraries - a
> >> reversion in the switch to setup.py that I missed.  Fixed now in SVN.
> >
> > Code which calls wx functions directly *should* be explicitly linking
> > against the wx libraries.
> >
> > Even if you can rely upon wx having been loaded by wxPython, there are
> > other issues, e.g. Gentoo's revdep-rebuild relies upon "ldd" output
> > for dependency tracking, and won't be able to detect that these files
> > need to be re-built if wx is updated unless they are explicitly linked
> > against the wx libraries.
> 
> 
> Do nviz and vdigit use wx libraries directly? (as opposed to wxpython  
> modules)

vdigit actually uses it, while nviz gets a dependency due to including
wx headers from nviz.h. If I remove the inclusion of wx headers from
nviz.h, nviz still compiles okay and loses the wx dependency.

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


More information about the grass-dev mailing list