[wxPython] problems compiling

Hello all. I just subscribed. In fact, someone just told me about
wxPython yesterday. So last night I tried to compile it but it didn't
work out. I was hoping someone could help me out here.

I use Debian Linux 2.2 with gcc 2.95.2 and gtk 1.2.7. I just installed
wxGTK 2.1.16, and then tried to build wxPython 2.2.0. Here's what I got:

...
g++ -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD -I. `wx-config --cflags` -I/usr/include/python1.5 -I/usr/include/python1.5 -I/home/sam/src/wxPython-2.2.0/src -g -O2 `gtk-config --cflags` -c gtk/events.cpp
gtk/events.cpp: In function `struct PyObject * _wrap_wxKeyEvent_GetKeyCode(PyObject *, PyObject *, PyObject *)':
gtk/events.cpp:2368: no matching function for call to `wxKeyEvent::GetKeyCode ()'
gtk/events.cpp: In function `struct PyObject * _wrap_wxKeyEvent_HasModifiers(PyObject *, PyObject *, PyObject *)':
gtk/events.cpp:2395: no matching function for call to `wxKeyEvent::HasModifiers ()'
make: *** [events.o] Error 1

Not knowing C++, I don't know exactly how to interpret those errors, but
it look to me like maybe events.cpp is referencing wxWindows stuff that
isn't there -- a version mismatch perhaps?

Thanks in advance to anyone who can shed some light on this for me and
help me get wxPython up and running.

···

--
Samuel R. Scarano "Due to circumstances beyond my
Cornell University undergraduate control, I am master of my fate
<srs25@cornell.edu> and captain of my soul."
http://people.cornell.edu/pages/srs25/ -- Ashleigh Brilliant

Not knowing C++, I don't know exactly how to interpret those errors, but
it look to me like maybe events.cpp is referencing wxWindows stuff that
isn't there -- a version mismatch perhaps?

Yes, you'll want to get the 2.2.0 version of wxGTK as well, or you could
also go back to 2.1.16 version of wxPython if you want...

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!