Problem compiling OGL under CentOS5

Hello,

I'm trying to compile wxPython 2.8.4 under CentOS 5, and I'm getting a strange compile error when it hits the OGL wrapper:

contrib/ogl/gtk/ogl_wrap.cpp: In function PyObject*_wrap_PyShapeEvtHandler_bas
e_OnDelete(PyObject*, PyObject*, PyObject*):
contrib/ogl/gtk/ogl_wrap.cpp:3449: error: class wxPyShapeEvtHandler has no member named base_OnDelete

There are lots more errors like that. On the lines with the errors, the code is calling the named function (eg base_onDelete) which is actually dereferenced from a pointer. I believe that this is a compile error; does anyone know if that's the case, and how I can correct it?

My GCC is configured thusly:

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)

Thanks,
-J

Josh wrote:

Hello,

I'm trying to compile wxPython 2.8.4 under CentOS 5, and I'm getting a strange compile error when it hits the OGL wrapper:

Don't build the OGL wrappers anymore. We have a pure Python alternative now, (in wx.lib.ogl) and there hasn't been any maintenance of the C++ OGL and Python wrappers for a long time. I'm not sure why I haven't yet just removed it entirely...

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!