[wxPython-users] Can't compile wxPython
Robin Dunn
robin at alldunn.com
Tue Jun 13 08:32:41 PDT 2006
Sacha Vandenbroeck wrote:
> I am unable to compile wxPython. During the compilation the program
> exits with the following message:
>
> building '_core_' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=i486 -mcpu=i686
> -fPIC -DSWIG_TYPE_TABLE=_wxPython_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 -Iinclude
> -Isrc -I/usr/lib/wx/include/gtk2-unicode-release-2.6
> -I/usr/include/wx-2.6 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -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.unicode/temp.linux-i686-2.4/src/gtk/_core_wrap.o -O3
> src/gtk/_core_wrap.cpp:2990: error: `SetUserData' undeclared (first use
> this
> function)
> src/gtk/_core_wrap.cpp:2990: error: (Each undeclared identifier is
> reported
> only once for each function it appears in.)
> error: command 'gcc' failed with exit status 1
>
> This is on Slackware 10.2. Anyone know how to fix this? I would greatly
> appreciate some help.
What version of wxPython are you trying to build? What version of wxGTK
do you have installed?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list