compile error in building wxPython

Kragen Sitaker kragen at pobox.com
Wed May 15 17:17:39 EDT 2002


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