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

Robin Dunn robin at alldunn.com
Wed Mar 26 13:23:19 PDT 2008


Christoph Schmidt-Hieber wrote:
> 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.

Did you also update your wxWidgets tree from SVN, and reconfigure, build 
and install it?  If so is the wx-config found first on the PATH the one 
for that build?



> 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). 

When you reswigged did you use my patched versioon of 1.3.29, or a stock 
release of swig?

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



More information about the wxpython-dev mailing list