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=0

I get sfollowing error message.....
What can I do?

[snipped]

gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTP
UT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXU
SINGDLL -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.c
pp -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_CreateBitma
p(PyObject*, PyObject*, PyObject*)':
src/msw/_gdi_wrap.cpp:32226: error: 'class wxGraphicsRenderer' has no member nam
ed 'CreateBitmap'

In wxPython/src/msw/_gdi_wrap.cpp, after the line

virtual wxGraphicsFont CreateFont( const wxFont & , const wxColour & ) { return wxNullGraphicsFont; }

you need to add the line

virtual wxGraphicsBitmap CreateBitmap( const wxBitmap & ) { return wxNullGraphicsBitmap; }

-- Don W.



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to