[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] about Bui lding wxPython in Cygwin‏

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

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


gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTP
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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]