_wrap_Window_GetWindowVariant(PyObject*, PyObject*, PyObject*)':
src/gtk/core_wrap.cpp:21663: error: `GetWindowVariant' undeclared (first use
this function)
src/gtk/core_wrap.cpp: In function `void init_core()':
src/gtk/core_wrap.cpp:41958: error: `wxWINDOW_VARIANT_DEFAULT' undeclared
(first use this function)
src/gtk/core_wrap.cpp:41959: error: `wxWINDOW_VARIANT_NORMAL' undeclared (first
use this function)
src/gtk/core_wrap.cpp:41960: error: `wxWINDOW_VARIANT_SMALL' undeclared (first
use this function)
src/gtk/core_wrap.cpp:41961: error: `wxWINDOW_VARIANT_MINI' undeclared (first
use this function)
src/gtk/core_wrap.cpp:41962: error: `wxWINDOW_VARIANT_LARGE' undeclared (first
use this function)
error: command 'gcc' failed with exit status 1
Robin Dunn wrote (Sat, Apr 10, 2004 at 11:20:15PM -0700) :
You need to use the version of wxGTK that comes in the wxPythonSrc
tarball. It is a few weeks newer than wxGTK 2.5.1.
Thanks, that did it. I remember older versions of wxPython had more
prominent warnings about only using the included version of wxGTK...
Maybe a note should be added to the top of BUILD.txt that says this
explicitly?
···
Paramjit Oberoi wrote:
> I'm having trouble compiling wxPython:
>
> wxPython-2.5.1.5
> wxGTK-2.5.1
> gtk-2.2.4
>
> gcc-3.3.2
> python-2.2.3
>
[...]
> _wrap_Window_GetWindowVariant(PyObject*, PyObject*, PyObject*)':
> src/gtk/core_wrap.cpp:21663: error: `GetWindowVariant' undeclared (first use
> this function)
> src/gtk/core_wrap.cpp: In function `void init_core()':
> src/gtk/core_wrap.cpp:41958: error: `wxWINDOW_VARIANT_DEFAULT' undeclared
> (first use this function)
> src/gtk/core_wrap.cpp:41959: error: `wxWINDOW_VARIANT_NORMAL' undeclared (first
> use this function)
> src/gtk/core_wrap.cpp:41960: error: `wxWINDOW_VARIANT_SMALL' undeclared (first
> use this function)
> src/gtk/core_wrap.cpp:41961: error: `wxWINDOW_VARIANT_MINI' undeclared (first
> use this function)
> src/gtk/core_wrap.cpp:41962: error: `wxWINDOW_VARIANT_LARGE' undeclared (first
> use this function)
> error: command 'gcc' failed with exit status 1
>
> -----------------------------------------------------------
>
> I'd appreciate and hints on what the problem is and how to fix it.
> I'm not subscribed to the list, so please CC replies to me.
You need to use the version of wxGTK that comes in the wxPythonSrc
tarball. It is a few weeks newer than wxGTK 2.5.1.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!