[wxPython-users] Building Under Cygwin

Robin Dunn robin at alldunn.com
Fri Dec 21 15:06:07 PST 2007


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!




More information about the wxpython-users mailing list