<radio...@covad.net> wrote:

I am attempting to build wxPython under Cyqwin. Like the message posted on the listserv September 14, I am getting an error message for a missing CreateBitmap member in the class wxGraphicsRenderer. The complete output from build step 9 showing all of the error messages follows at the end of this message. I made the modifications to both the setup.h file and the timer.cpp files as indicated in the build instructions and the _gdi_wrap.cpp file as suggested in the previous e-mail. The output below indicates that I still am seeing the same problem even with the updated files. I have included snips from both setup.h and _gdi_wrap.cpp with the modifications in the event that I either entered the information incorrectly or that there is another problem in the file that I have missed. The widgets installed fine and run the test cases without a problem, so I would appreciate any suggestions as to where to go from here to complete the wxPython build.

Thanks,
-CAS

File: Setup.h  (starting at line 320)

#define wxUSE_COMBOBOX 1
#define wxUSE_DATAVIEWCTRL  0
#define wxUSE_DATEPICKCTRL 1
#define wxUSE_DATEPICKCTRL_GENERIC 1
#define wxUSE_DIRPICKERCTRL 1
#define wxUSE_FILEPICKERCTRL 1
#define wxUSE_FONTPICKERCTRL 1
#define wxUSE_GAUGE 1
#define wxUSE_HYPERLINKCTRL 1


File: _gdi_wrap.cpp (starting at line 4055)

virtual wxGraphicsBrush CreateRadialGradientBrush( wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius, const wxColour &oColor, const wxColour &cColor) { return wxNullGraphicsBrush; }

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

/* Next line added per per web message regarding installation: CAS - 11/27/2009 */ virtual wxGraphicsBitmap CreateBitmap ( const wxBitmap & ) { return wxNullGraphicsBitmap; }

This line was added in the wrong place; it should be added at about line 4156. The instructions at http://gnuradio.org/trac/wiki/wxPythonCygwin include a patch that does this for you.

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

-- Don W.



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

Reply via email to