wxPython without gnomeprint?

Gary Thomas gary at mlbassoc.com
Thu Sep 13 10:03:58 PDT 2007


I'm trying to build wxPython for an embedded system which
uses GTK, but doesn't have any of the 'libgnomeprint' stuff
available (it's a small embedded system!)  Building the
extension libraries fail when I get to:

src/gtk/_gdi_wrap.cpp: At global scope:
src/gtk/_gdi_wrap.cpp:3622: error: expected ',' or '...' before '&' token
src/gtk/_gdi_wrap.cpp:3622: error: ISO C++ forbids declaration of 'wxPrintData' with no type
src/gtk/_gdi_wrap.cpp: In function 'PyObject* _wrap_new_PostScriptDC(PyObject*, PyObject*, PyObject*)':
src/gtk/_gdi_wrap.cpp:24837: error: 'wxPrintData' was not declared in this scope

This is because my wxWidgets built with GTK, but no gnomeprint
support (I think/hope).

Is there some way to skip/disable these classes?

n.b. I tried to search the archives of this list, but that
machine seems to still be down?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------




More information about the wxpython-dev mailing list