[wxPython-dev] Problems building wxPython with wxWidgets 2.9 svn trunk

Christoph Schmidt-Hieber christoph.schmidt-hieber at uni-freiburg.de
Wed Mar 26 12:51:27 PDT 2008


Hi,

Robin Dunn wrote:
> I've just updated the wxPython trunk to be in sync with the wx trunk.

Thanks. I just checked out r52838 and attempted to build against 
wxWidgets with

$ python2.5 setup.py build_ext --inplace --debug

My wx configuration is gtk2-unicode-debug-2.9. The build fails with:

src/helpers.cpp:33:28: error: wx/gtk/win_gtk.h: No such file or directory

Apparently, this file is still in the source 
(include/wx/gtk/private/win_gtk.h), but it doesn't get installed 
anymore. I corrected the path in helpers.cpp, then, the build would fail 
because wxGCDC doesn't adhere to the new pImpl interface of the 
wxDC-derived classes. I excluded wxGCDC, re-swigged, and was able to 
build and install, but the sample applications wouldn't run (sorry, I 
forgot to keep a copy of the error messages; it said something about 
"wx.ID_ANY not found in module" or similar). Am I missing some pre-build 
step?

Christoph



More information about the wxpython-dev mailing list