wxPython build v2.8.3.0 on redhad REL3

Karl Kobata karl.kobata at syncira.com
Thu May 3 12:14:46 PDT 2007


I need help !!!

I am able to build the wxWidgets just fine on the redhat REL3 workstations
and install them as described in the BUILD.  However when I execute the
"python setup.py build_ext -inplace -debug"

 

I get the following error when compiling helper.cpp:

In file included from src/helpers.cpp:16:

include/wx/wxPython/wxPython_int.h:154: error: `wxListBase' was not declared
in this scope

include/wx/wxPython/wxPython_int.h:154: error: `list' was not declared in
this scope

include/wx/wxPython/wxPython_int.h:381: error: expected `;' before '(' token

src/helpers.cpp:1816: error: redefinition of `PyObject*wxPy_ConvertList'

include/wx/wxPython/wxPython_int.h:154: error: `PyObject*wxPy_ConvertList'
previously defined here

src/helpers.cpp:1816: error: `wxListBase' was not declared in this scope

src/helpers.cpp:1816: error: `listbase' was not declared in this scope

src/helpers.cpp:1816: error: expected `,' or `;' before '{' token

src/helpers.cpp: In function `wxString* wxString_in_helper(PyObject*)':

src/helpers.cpp:1876: error: 'class wxString' has no member named
'GetWriteBuf'

src/helpers.cpp:1877: error: 'class wxString' has no member named
'UngetWriteBuf'

src/helpers.cpp: In function `wxString Py2wxString(PyObject*)':

src/helpers.cpp:1919: error: 'class wxString' has no member named
'GetWriteBuf'

src/helpers.cpp:1920: error: 'class wxString' has no member named
'UngetWriteBuf'

error: command 'gcc' failed with exit status 1

 

Can anyone help?  Why can it not find wxListBase?

I was able to find list.h in /opt/wx/2.8/include/wx-2.8/wx.

 

Please help.

karl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070503/b7268103/attachment.htm


More information about the wxpython-users mailing list