[wxPython-users] Building Under Cygwin
Harry Goldschmitt
harry at hgac.com
Sat Dec 22 00:00:41 PST 2007
At 3:06 PM -0800 12/21/07, Robin Dunn wrote:
>Harry Goldschmitt wrote:
>>I know this has been covered in the past, but I'm having trouble
>>building under wxPython 2.8.7.1 under Cygwin. I have followed the
>>instructions on the wxPython site, but the src/helpers.cpp compile
>>from the setup.py script fails because std::wstring is not defined.
>>As near as I can tell, _GLIBCXX_USE_WCHAR_T or
>>_GLIBCXX_USE_WSTRING must be defined to get wstring defined. Any
>>ideas for getting around this will be greatly appreciated.
>>
>>I have seen a post on the wxwidgets mailing list that -I
>>/usr/include must be added to the compile, but I don't know how to
>>do this in the wxPython infrastruture.
>
>Try adding --disable-std_string to the configure step and rebuilding.
>
>
>--
>Robin Dunn
>Software Craftsman
>http://wxPython.org Java give you jitters? Relax with wxPython!
Thanks. That got me past src/helpers.cpp. Unfortunately, the build
blew up on the next module src/gtk/_core_wrap.cpp at line 37543:
error class wxWindow has no member named 'SetDoubleBuffered'. As
near as I can tell that's defined in include/wx/gtk/window.h, but not
in include/wx/msw/window.h.
I thought the Cygwin version was supposed to use the msw facilities,
not the gtk facilities. Is this right?
Harry
More information about the wxpython-users
mailing list