[GRASS-dev] Building gui/wxpython/vdigit fails on Gentoo

Martin Landa landa.martin at gmail.com
Sat Feb 16 14:56:41 EST 2008


Hi,

2008/2/16, Martin Landa <landa.martin at gmail.com>:
> > >> This is confusing to me. wx.PseudoDC has been a part of wxPython code
> > >> for quite some time. We're using it as a basis for the main map
> > >> display.
> > >
> > > right, it is the reason why I am using PseudoDC class in digitizer.
> > > Since C++ PseudoDC class is not part of wxWidgets (should be in 2.9)
> > > but only of wxPython it causes some problems in compilation process.
> > > You need to define also includes/libs for wxPython (C++ code).
> >
> > So we make a link to the wxPython includes and libs so that C++ can
> > find the PseudoDC pieces it needs?
>
> yes, since PseudoDC is not (yet) part of wxWidgets it is required (at
> least for pseudodc.h and given shared library (_gdi_.so)).

anyway usage of wxPseudoDC class can causes problems during
compilation process. If we don't find reasonably good approach I will
take a look how to eliminate wxPseudoDC in vdigit C++ code (use wxDC
instead). I would prefer to use wxPseudoDC.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list