[PyQt] I can not install PyQt and sip_4.13.2 on Windows7 x64. “undefined reference”

Phil Thompson phil at riverbankcomputing.com
Wed Mar 21 10:43:29 GMT 2012


On Tue, 20 Mar 2012 22:32:24 -0300, Ivanelson Nunes
<ivanelsonnunes at gmail.com> wrote:
> *I have errors when compiling sip_4.13.2:*
> 
> c:\Qt\sip>c:\Python27\python configure.py -p win32-g++
> 
> *c:\Qt\sip\mingw32-make*
> 
> voidptr.o: voidptr.c: (. text +0 xa09): undefined reference to
> _imp__PyCapsule_GetPointer'
> collect2: ld returned 1 exit status mingw32-make [1]: *** [sip.pyd]
Error 1
> mingw32-make [1]: Leaving directoryC:\Qt\sip\siplib' mingw32-make: ***
> [all]
> Error 2
> 
> *My versions:*
> 
>    - Windows7_x64
>    - Python2.7x64(Activestate)
>    - qt-win-opensource-4.8.0-mingw
>    - Qt_SDK_Win_offline_v1_2_en
> 
> Anyone can help? Thank you.
> 
> 
> Version downloaded on: 19.03.2012.
> http://qt.nokia.com/downloads/sdk-windows-cpp-offline
> 
> http://get.qt.nokia.com/qt/source/qt-win-opensource-4.8.0-mingw.exe
> 
>
http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.7-x64-gpl-4.9.1-1.exe
> 
> http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.13.2.zip

Why are you compiling SIP when you are using the binary installer for
PyQt?

Phil


More information about the PyQt mailing list