I've tried a few different solutions, and they've all failed. See the
attachments.
I did successfully build wxWidgets. I'm using Python 2.7, OS X 10.6
and would like to build a Cocoa port of wxPython. The SVN (trunk)
revision I've been using is from last week.
Every build seems to fail in the same place:
src/osx_cocoa/_controls_wrap.cpp: In function ‘void init_controls_()’:
src/osx_cocoa/_controls_wrap.cpp:56039: error: ‘wxST_MARKUP’ was not
declared in this scope
error: command 'gcc' failed with exit status 1
ERROR: failed building wxPython.
Robin doesn't keep up with SVN trunk, since it changes quite frequently and requires frequent updates to the wrappers (and sometimes APIs get added, then removed a week later or replaced, etc.). Do you need to build off of trunk for some reason, or would using the latest wxPython-src tarball work for you?
Regards,
Kevin
···
On Mar 27, 2011, at 12:20 PM, Lassi Paavolainen wrote:
I've tried a few different solutions, and they've all failed. See the
attachments.
I did successfully build wxWidgets. I'm using Python 2.7, OS X 10.6
and would like to build a Cocoa port of wxPython. The SVN (trunk)
revision I've been using is from last week.
Every build seems to fail in the same place:
src/osx_cocoa/_controls_wrap.cpp: In function ‘void init_controls_()’:
src/osx_cocoa/_controls_wrap.cpp:56039: error: ‘wxST_MARKUP’ was not
declared in this scope
error: command 'gcc' failed with exit status 1
ERROR: failed building wxPython.
Latest wxPython-src tarball seems to be 2.9.1.1. So would it be better
just to wait until 2.9.2 is released (seems its not released for wx
yet) or try to hack source myself?
Best regards,
Lassi
···
On Mar 27, 11:09 pm, Kevin Ollivier <kevin-li...@theolliviers.com> wrote:
Hi Lassi,
Robin doesn't keep up with SVN trunk, since it changes quite frequently and requires frequent updates to the wrappers (and sometimes APIs get added, then removed a week later or replaced, etc.). Do you need to build off of trunk for some reason, or would using the latest wxPython-src tarball work for you?
Regards,
Kevin
On Mar 27, 2011, at 12:20 PM, Lassi Paavolainen wrote:
> I've tried a few different solutions, and they've all failed. See the
> attachments.
> I did successfully build wxWidgets. I'm using Python 2.7, OS X 10.6
> and would like to build a Cocoa port of wxPython. The SVN (trunk)
> revision I've been using is from last week.
> Every build seems to fail in the same place:
> src/osx_cocoa/_controls_wrap.cpp: In function ‘void init_controls_()’:
> src/osx_cocoa/_controls_wrap.cpp:56039: error: ‘wxST_MARKUP’ was not
> declared in this scope
> error: command 'gcc' failed with exit status 1
> ERROR: failed building wxPython.