wxPython - cygwin setup.py errors

_) when I do the clean, where do I find pkg-config to find
what command it could not find.

·
I have the same error when executing
the build.

_) compile error – object not in wxWindow class.

Any thoughts?

python setup.py clean

è /bin/sh: pkg-config: command
not found

Preparing CORE…

Preparing GLCANVAS…

Preparing STC…

Preparing GIZMOS…

running clean

removing ‘build-gtk2/temp.cygwin-1.5.24-i686-2.5’
(and everything under it)

removing ‘wx/build/config.py’

removing ‘wx/build/build_options.py’

removing ‘wx/version.py’

removing ‘wx/_core.py’

removing ‘wx/init.py’

removing ‘licence/preamble.txt’

removing ‘licence/licence.txt’

removing ‘licence/licendoc.txt’

removing ‘licence/lgpl.txt’

removing ‘licence’

removing ‘wx/_gdi.py’

removing ‘wx/_windows.py’

removing ‘wx/_controls.py’

removing ‘wx/_misc.py’

removing ‘wx/calendar.py’

removing ‘wx/combo.py’

removing ‘wx/grid.py’

removing ‘wx/html.py’

removing ‘wx/media.py’

removing ‘wx/webkit.py’

removing ‘wx/wizard.py’

removing ‘wx/xrc.py’

removing ‘wx/richtext.py’

removing ‘wx/aui.py’

removing ‘wx/animate.py’

removing ‘wx/glcanvas.py’

removing ‘wx/stc.py’

removing ‘wx/gizmos.py’

removing ‘src/wx.pth’

running clean

running clean

python setup.py build_ext --compiler=cygwin
–inplace

è /bin/sh: pkg-config: command
not found

Preparing CORE…

Preparing GLCANVAS…

Preparing STC…

Preparing GIZMOS…

running build_ext

building ‘core’ extension

creating build-gtk2/temp.cygwin-1.5.24-i686-2.5

creating build-gtk2/temp.cygwin-1.5.24-i686-2.5/src

creating
build-gtk2/temp.cygwin-1.5.24-i686-2.5/src/gtk

g++ -mcygwin -mdll -O
-DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=

1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXDEBUG__ -DWXUSINGDLL -D__WXMSW__ -Iinclude -I

src -I/opt/wx/2.8/lib/wx/include/msw-ansi-debug-2.8
-I/opt/wx/2.8/include/wx-2.8 -I/usr/include/pyth

on2.5 -c src/helpers.cpp -o
build-gtk2/temp.cygwin-1.5.24-i686-2.5/src/helpers.o -O3

è g++ -mcygwin -mdll -O
-DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=

1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXDEBUG__ -DWXUSINGDLL -D__WXMSW__ -Iinclude -I

src -I/opt/wx/2.8/lib/wx/include/msw-ansi-debug-2.8
-I/opt/wx/2.8/include/wx-2.8 -I/usr/include/pyth

on2.5 -c src/gtk/_core_wrap.cpp -o
build-gtk2/temp.cygwin-1.5.24-i686-2.5/src/gtk/_core_wrap.o -O3

src/gtk/_core_wrap.cpp: In function `PyObject*
_wrap_GetAccelFromString(PyObject*, PyObject*, PyObje

ct*)':

src/gtk/_core_wrap.cpp:32501: warning:
`wxGetAccelFromString’ is deprecated (declared at /opt/wx/2.8

/include/wx-2.8/wx/utils.h:571)

src/gtk/_core_wrap.cpp:32501: warning:
`wxGetAccelFromString’ is deprecated (declared at /opt/wx/2.8

/include/wx-2.8/wx/utils.h:571)

src/gtk/_core_wrap.cpp: In function `PyObject*
_wrap_Window_SetDoubleBuffered(PyObject*, PyObject*,

PyObject*)':

è src/gtk/_core_wrap.cpp:36678:
error: ‘class wxWindow’ has no member named ‘SetDoubleBuffered’

error: command ‘g++’ failed with exit status 1