[PyKDE] Re: sip and pyqt compile grief

Patrick Kirk patrick at kirks.net
Sun Jul 15 10:27:47 BST 2001


Hi Phil,

Thanks for the reply.  I had only seen the announce mailing list so this is
to the correct mailing list.

Hi all,

Having problems compiling sip.  Its the qt233.lib in Makefile.win32-msvc
that causes offence; I have qt-2.3.0 on Win2k.  Any idea what qtlib I need
and is editing Makefile.win32-msvc going to be enough?

Thanks in advance!

D:\Python\sip\siplib>nmake -f Makefile.win32-msvc

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        link /NOLOGO /SUBSYSTEM:windows /DLL /OUT:sip.dll @d:\Temp\nma01228.
LINK : fatal error LNK1181: cannot open input file "d:\qt\lib\qt223.lib"
NMAKE : fatal error U1077: 'link' : return code '0x49d'
Stop.

----- Original Message -----
From: "Phil Thompson" <phil at river-bank.demon.co.uk>
To: "Patrick Kirk" <patrick at kirks.net>
Sent: Saturday, July 14, 2001 11:51 AM
Subject: Re: sip and pyqt compile grief


| Patrick Kirk wrote:
| >
| > Is there a mailing list where I can get support for problems like this:
|
| Yes - details on the web site.
|
| > D:\Python\sip-2.4\sip-2.4\siplib>nmake -f Makefile.win32-msvc
| >
| > Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
| > Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
| >
| >
    cl -c -nologo -W3 -O1 -DSIP_QT_SUPPORT -DSIP_MAKE_DLL -DNO_DEBUG -I"." -
| > I"d:\qt\include" -Foobjmap.obj objmap.c
| > objmap.c
| > sip.h(11) : fatal error C1083: Cannot open include file: 'Python.h': No
such
| > fil
| > e or directory
| > NMAKE : fatal error U1077: 'cl' : return code '0x2'
| > Stop.
| >
| > I have Visual C++, qt and Python 2.1
|
| >From the INSTALL.win32 file:
|
| "The compiler must be able to find the Qt and Python header files and
| libraries so set the QTDIR, PATH, INCLUDE and LIB environment variables
| appropriately. Also check that the name of the qt.lib file is correct
| for your system."
|
| Phil
|





More information about the PyQt mailing list