[PyKDE] Problem compiling PyQt

Phil Thompson phil at river-bank.demon.co.uk
Wed Aug 7 17:34:00 BST 2002


Philippe FREMY wrote:

> 
> 	Hi,
> 
> I am compiling latest PyQt 3.3.2 on Windows 2000, with visual 6 and Python
> 2.2 from ActiveState.
> 
> I am getting the error: 
> 
> d:/software/PyQt-3.3.2 > nmake
> 
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> 
>         cd qt
>         nmake
> 
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> 
>         link /NOLOGO /DEBUG /SUBSYSTEM:windows /DLL
> /OUT:d:\software\Python22\Li
> b\site-packages\libqtc.pyd @c:\WINNT\TEMP\nma01708.
> LINK : fatal error LNK1104: cannot open file "python22_d.lib"
> NMAKE : fatal error U1077: 'link' : return code '0x450'
> Stop.
> NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual
> Studio\VC98\bin\n
> make.exe"' : return code '0x2'
> 
> I checked, I haven't got any python22_d.lib file on my harddrive. I have
> however a python22.lib . How do I switch from one to the other ?


I'm not sure how you've got the /DEBUG switch specified as qmake will be 
adding this. How did you build Qt?

Phil




More information about the PyQt mailing list