I try compiling latest wxPython-src-2.5.4.1
with wxWidgets 2.5.4, but get fault:
gcc -fno-strict-aliasing -DNDEBUG -pipe -Wall -O2 -march=i586 -mcpu=i686 -fPIC -DPIC -D_GNU_SOURCE -pipe -Wall -O2 -march=i586 -mcpu=i686 -fPIC -DSWIG_TYPE_TABLE=wxPython_type_table -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -Iinclude -Isrc -I/usr/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/include/wx-2.5 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.4 -c src/gtk/_core_wrap.cpp -o build-gtk2/temp.linux-i686-2.4/src/gtk/_core_wrap.o -O3
src/gtk/_core_wrap.cpp:2475: error: `wxIMAGE_OPTION_QUALITY' was not declared in this scope
src/gtk/_core_wrap.cpp:2480: error: `wxIMAGE_OPTION_PNG_FORMAT' was not declared in this scope
src/gtk/_core_wrap.cpp:2481: error: `wxIMAGE_OPTION_PNG_BITDEPTH' was not declared in this scope
I can't figure where wxIMAGE_OPTION_QUALITY define from.
Those are in image.h and imagpng.h, but are recent additions. Looking at CVS I see that they were added after 2.5.4 and before 2.5.4.1. You'll need to build the wxWidgets included with the wxPython tarball.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Thanks.
In other words, wxWidgets and wxPython version have to be the
same as I guess. I will try with wxWidgets 2.5.4.1
···
On Saturday 19 March 2005 00:31, Robin Dunn wrote:
Vitaly Lipatov wrote:
> I can't figure where wxIMAGE_OPTION_QUALITY define from.
Those are in image.h and imagpng.h, but are recent additions.
Looking at CVS I see that they were added after 2.5.4 and
before 2.5.4.1. You'll need to build the wxWidgets included
with the wxPython tarball.
--
Lav
Vitaly Lipatov
Saint-Petersburg
GNU! ALT Linux Team! LaTeX! LyX!
On Saturday 19 March 2005 00:31, Robin Dunn wrote:
Vitaly Lipatov wrote:
I can't figure where wxIMAGE_OPTION_QUALITY define from.
Those are in image.h and imagpng.h, but are recent additions. Looking at CVS I see that they were added after 2.5.4 and
before 2.5.4.1. You'll need to build the wxWidgets included
with the wxPython tarball.
Thanks.
In other words, wxWidgets and wxPython version have to be the same as I guess.
They Usually have to be the same in the unstable release series, but they can usually be somewhat different in the stable series.