|
From: | Don Ward |
Subject: | Re: [Discuss-gnuradio] about Bui lding wxPython in Cygwin |
Date: | Mon, 14 Sep 2009 10:09:38 -0400 |
Li 美文 wrote:
When I do the setp (9) (http://gnuradio.org/trac/wiki/wxPythonCygwin on windows)python setup.py build_ext --inplace WXPORT=msw COMPILER=cygwin BUILD_GLCANVAS=0 BUILD_GIZMOS=0 UNICODE=0I get sfollowing error message..... What can I do?
[snipped]
gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXUSINGDLL -D__WXMSW__ -Iinclude -Isrc -I/usr/local/lib/wx/include/msw-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/usr/include/python2.5 -c src/msw/_gdi_wrap.cpp -o build/temp.cygwin-1.5.25-i686-2.5/src/msw/_gdi_wrap.o -O3
[warnings snipped]
src/msw/_gdi_wrap.cpp: In function `PyObject* _wrap_GraphicsRenderer_CreateBitmap(PyObject*, PyObject*, PyObject*)':src/msw/_gdi_wrap.cpp:32226: error: 'class wxGraphicsRenderer' has no member named 'CreateBitmap'
In wxPython/src/msw/_gdi_wrap.cpp, after the linevirtual wxGraphicsFont CreateFont( const wxFont & , const wxColour & ) { return wxNullGraphicsFont; }
you need to add the linevirtual wxGraphicsBitmap CreateBitmap( const wxBitmap & ) { return wxNullGraphicsBitmap; }
-- Don W.
[Prev in Thread] | Current Thread | [Next in Thread] |