Problem compiling OGL under CentOS5

Josh josh at globalherald.net
Fri Jun 8 10:09:57 PDT 2007


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





More information about the wxpython-dev mailing list