# wxPython 2.8.8.0 and cygwin installation failure

**URL:** <https://www.ruby-forum.com/t/wxpython-2-8-8-0-and-cygwin-installation-failure/142288>\
**Category:** GNU Radio\
**Created:** [July 6, 2008, 3:57am UTC](https://www.ruby-forum.com/t/wxpython-2-8-8-0-and-cygwin-installation-failure/142288 "2008-07-06T03:57:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_SSGrant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@Michael\_SSGrant](https://www.ruby-forum.com/u/Michael_SSGrant)\
**Post date:** [July 6, 2008, 3:57am UTC](https://www.ruby-forum.com/t/wxpython-2-8-8-0-and-cygwin-installation-failure/142288/1 "2008-07-06T03:57:30Z")

</div>

– Hello,

After searching the mailing list archive, I’m looking for help with  
wxPython 2.8.8.0 installation failures at step (9) of  
[http://www.gnuradio.org/trac/wiki/wxPythonCygwin](http://www.gnuradio.org/trac/wiki/wxPythonCygwin). (I’m using python 2.5  
and swig 1.3.34). The setup command is:

python setup.py build\_ext --inplace WXPORT=msw COMPILER=cygwin  
BUILD\_GLCANVAS=0 BUILD\_GIZMOS=0 UNICODE=0

The error message was an undefined reference building ‘_controls_’  
extension:  
g++ -mcygwin -shared -s  
build/temp.cygwin-1.5.25-i686-2.5/src/msw/\_controls\_wrap.o  
build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_.def  
-L/usr/local/lib  
…  
undefined reference to `\_\_imp\_\_\_ZTV23wxDatePickerCtrlGeneric’ …

followed by other similar errors and then:

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

Had the same failure multiple times on 2 different machines, so help on  
this would be much appreciated!

Michael

---

<div class="post-metadata">

**Author:** ![Michael\_SSGrant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@Michael\_SSGrant](https://www.ruby-forum.com/u/Michael_SSGrant)\
**Post date:** [July 6, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/wxpython-2-8-8-0-and-cygwin-installation-failure/142288/2 "2008-07-06T16:07:57Z")

</div>

Michael,

Even I had a similar problem. When I reverted back to wxPython  
2.8.7.1, binutils 20060817-1 and swig 1.3.31 it was fine. So unless  
you require 2.8.8.0 (or other combination) for some specific reason,  
this is the easiest workaround.

Nagaraj

---

<div class="post-metadata">

**Author:** ![Michael\_SSGrant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@Michael\_SSGrant](https://www.ruby-forum.com/u/Michael_SSGrant)\
**Post date:** [July 7, 2008, 2:35am UTC](https://www.ruby-forum.com/t/wxpython-2-8-8-0-and-cygwin-installation-failure/142288/3 "2008-07-07T02:35:39Z")

</div>

Hello, Nagaraj,

Thanks very much for this information - I had not thought of trying the  
earlier version of swig 1.3.31. I have searched for wxPython 2.8.7.1  
but  
have, so far, only found 2.8.8.0 (but I’ll find the earlier version  
somewhere!)

Best regards,

Michael

---

<div class="post-metadata">

**Author:** ![Michael\_SSGrant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@Michael\_SSGrant](https://www.ruby-forum.com/u/Michael_SSGrant)\
**Post date:** [July 7, 2008, 3:14am UTC](https://www.ruby-forum.com/t/wxpython-2-8-8-0-and-cygwin-installation-failure/142288/4 "2008-07-07T03:14:15Z")

</div>

Michael,

if you are still searching for wxPython 2.8.7.1, its here

> **[wxPython - Browse Files at SourceForge.net](https://sourceforge.net/projects/wxpython/files/)**
>
> A wrapper for the cross-platform, GUI API toolkit wxWidgets

Nagaraj
