compile error in building wxPython

Eric Texier erict at millfilm.co.uk
Thu May 16 04:33:34 EDT 2002


Yes I know there is a version problem, because I couldn't uncompress the
right wxGTK.
But the use of wx-config is the setup is only to tell where to find the gl
lib.
I will try today to get a wxGTK that I can uncompress

Thanks

Kragen Sitaker wrote:

> Eric Texier <erict at millfilm.co.uk> writes:
> > % python setup.py build
> [...]
> > Preparing GLCANVAS...
> > Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
> >                  [--libs] [--cppflags] [--cflags] [--cxxflags]
> >                  [--cc] [--cxx] [--ld]
> >
> > wx-config returns configuration information about the installed
> > version of wxWindows. It may be used to query its version and
> > installation directories and also retrieve the C and C++ compilers
> > and linker which were used for its building and the corresponding
> > flags.
> > Preparing OGL...
> [...]
> > src/helpers.cpp: In function `PyObject *wxPyMake_wxObject (wxObject *,
> > bool)':
> > src/helpers.cpp:318: no matching function for call to
> > `wxEvtHandler::GetClientObject ()'
> > src/helpers.cpp:339: no matching function for call to
> > `wxEvtHandler::SetClientObject (wxPyClientData *&)'
> [...]
>
> I don't know much about wxWindows or wxPython, but it appears that
> you're building with a different version of wxWindows than wxPython
> expects, probably an older one.  Could it be that the wx-config in
> your PATH is not the one for the right version of wxWindows?




More information about the Python-list mailing list