Robin
I am having problems with wxPython 2.4.0.2 on Irix (6.5) -
import of wxc fails:
import wxc
ImportError: 46226:python: rld: Fatal Error: unresolvable symbol in
...../python/lib/python2.2/site-packages/wxPython/wxc.so:
__vtbl__21wxwxStringPtrListNode
I have traced the problem down to the pyistream.h file in the
wxPython src directory. This header contains a definition for a
list of strings:
// list class for return list of strings, e.g. readlines()
WX_DECLARE_LIST(wxString, wxStringPtrList);
It seems that because the wxwindows WX_DECLARE_LIST macro is
used, instead of the WX_DEFINE_LIST macro (which I assume can't
be used in a header file), there is a function or method left
undefined and this is why the run-time loader cannot resolve the
symbol.
I notice that the wxStringPtrList was at some point defined
in the streams.i SWIG file, this might have been why wxPython
worked ok on Irix a year or so ago.
Is there a way to fix or work around this problem?
Nigel
···
--
Nigel W. Moriarty
Building 4R0230
Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709
Fax : 510-486-5909
Email : NWMoriarty@LBL.gov
Web : CCI.LBL.gov