[wxpython-users] Building for MSW with cygwin/mingw32
Frank Hempel
red_socks at gmx.de
Mon Sep 29 10:11:11 PDT 2008
Barak, Ron schrieb:
> Hi,
> I read through the instructions (http://www.wxpython.org/BUILD.html), and the only reference to was in the "Building on Windows with MS Visual C++".
> I could not find a reference to wxUSE_DATEPICKCTRL_GENERIC in the "Building on Windows with Cygwin/MingW32" section.
That irritated me a little as well.
If you follow the instructions from the Cygwin/Mingw32 section, then you
manually have to add the line
#define wxUSE_DATEPICKCTRL_GENERIC 1
in the file
%WXDIR%/bld/lib/wx/include/msw-unicode-debug-2.8/wx/setup.h
where 'bld' is the suggested build directory and 'msw-unicode-debug-2.8'
may differ depending on you build settings.
Changing the flag in %WXDIR%/include/wx/msw/setup0.h or copying it to
setup.h or anything like that did not work for me, even if one
reconfigures everything, which actually creates the setup.h in the bld
directory.
HTH, Frank
More information about the wxpython-users
mailing list