hi there,
I just tried to install wxPython version 2.4.1.2 on MacOS X 10.2.6
Following the build instructions for macosx, I first installed
MacPython (version 2.3.1) which seems to work properly.
Building and installing wxMac was no problem, but when I try to
python setup.py build install
I get the following compiler error:
harold@picabia:~/down/wxPythonSrc-2.4.1.2/wxPython> python setup.py build install
WX_CONFIG not specified and wxmac-2.4-config not found on $PATH defaulting to "wx-config"
Preparing CORE...
Preparing GLCANVAS...
Preparing OGL...
Preparing STC...
Preparing XRC...
Preparing GIZMOS...
running build
running build_py
copying wxPython/__version__.py -> build/lib.darwin-6.6-Power_Macintosh-2.2/wxPython
running build_ext
building 'wxc' extension
gcc -DNDEBUG -O3 -Wall -Wstrict-prototypes -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/sw/include/python2.2 -c src/mac/controls2.cpp -o build/temp.darwin-6.6-Power_Macintosh-2.2/src/mac/controls2.o -I/lib/wx/include/macd-2.4 -I/include -D__WXDEBUG__ -D__WXMAC__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
src/mac/controls2.cpp: In function `PyObject*
_wrap_wxTreeEvent_SetItem(PyObject*, PyObject*, PyObject*)':
src/mac/controls2.cpp:6390: no matching function for call to `wxTreeEvent::
SetItem(wxTreeItemId&)'
src/mac/controls2.cpp: In function `PyObject*
_wrap_wxTreeEvent_SetOldItem(PyObject*, PyObject*, PyObject*)':
src/mac/controls2.cpp:6426: no matching function for call to `wxTreeEvent::
SetOldItem(wxTreeItemId&)'
src/mac/controls2.cpp: In function `PyObject*
_wrap_wxTreeEvent_SetPoint(PyObject*, PyObject*, PyObject*)':
src/mac/controls2.cpp:6462: no matching function for call to `wxTreeEvent::
SetPoint(wxPoint&)'
src/mac/controls2.cpp: In function `PyObject*
_wrap_wxTreeEvent_SetKeyEvent(PyObject*, PyObject*, PyObject*)':
src/mac/controls2.cpp:6498: no matching function for call to `wxTreeEvent::
SetKeyEvent(wxKeyEvent&)'
src/mac/controls2.cpp: In function `PyObject*
_wrap_wxTreeEvent_SetLabel(PyObject*, PyObject*, PyObject*)':
src/mac/controls2.cpp:6533: no matching function for call to `wxTreeEvent::
SetLabel(wxString&)'
src/mac/controls2.cpp: In function `PyObject*
_wrap_wxTreeEvent_SetEditCanceled(PyObject*, PyObject*, PyObject*)':
src/mac/controls2.cpp:6568: no matching function for call to `wxTreeEvent::
SetEditCanceled(bool&)'
error: command 'gcc' failed with exit status 1
Has anyone an idea how to solve my problem?
Thanks,
- harold fellermann -
···
--
Reality is for people who lack imagination.