[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Commerical PyQt configuration problem.
From:       "James Hinchey" <James.Hinchey () adacel ! com>
Date:       2011-03-28 16:40:57
Message-ID: 1D85BB8056BEAE45B426A43666A5A37201C62E3F () asi-mail ! adacel ! domain
[Download RAW message or body]

--===============2912120997831030769==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CBED66.EA6DEE8A"

This is a multi-part message in MIME format.


Hello,

  I seem to be having some problems compiling the commercial version of
PyQt on Windows.   I suspect there is a configuration option I am
unaware of which would solve the problem.  As I see it, there are two
problems happening here:

1) The link step is pointing to the wrong directory for Qt.  It seems to
have found the correct location for includes, but cannot find it for
libs.  

2) It is looking for QtCore.lib, which I do not seem to have.  I do have
QtCore4.lib.

 

Below is a log of my attempt at building.  Any advice would be
appreciated.

 

Thank you

James Hinchey

 

------------------------------------------------------------------------
--------------------------

 

C:\PyQt-win-commercial-4.8.3>\python27\python.exe configure.py --verbose

Determining the layout of your Qt installation...

C:\svn\pkg\3rdParty\3rdPartyPackages\Qt-4.4.0-msvc.net_2003\bin\qmake.ex
e -o qtdirs.mk qtdirs.pro

nmake -f qtdirs.mk release

 

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation.  All rights reserved.

 

        nmake -f qtdirs.mk.Release

 

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation.  All rights reserved.

 

        cl -c -nologo -Zm300 -O2 -MD -W3 -w34100 -w34189 -DUNICODE
-DWIN32 -DQT

LARGEFILE_SUPPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"c:\Qt\4.4.0\include\QtCore" -I"c:\Qt\4.4.0\include"
-I"c:\Qt\4.4.0\include\ActiveQt" -I"release" -I"."
-I"..\svn\pkg\3rdParty\3rdPartyPackages\Qt-4.4.0-msvc.net_2003\mksepcs\w
in32-msvc2003" -Forelease\ @C:\DOCUME~1\jhinchey\LOCALS~1\Temp\nm140.tmp

qtdirs.cpp

        link /LIBPATH:"c:\Qt\4.4.0\lib" /NOLOGO /INCREMENTAL:NO
/SUBSYSTEM:WINDOWS /OUT:release\qtdirs.exe
@C:\DOCUME~1\jhinchey\LOCALS~1\Temp\nm141.tmp

LINK : fatal error LNK1181: cannot open input file 'QtCore.lib'

NMAKE : fatal error U1077: 'link' : return code '0x49d'

Stop.

NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
.NET 2003\Vc7\bin\nmake.exe"' : return code '0x2'

Stop.

Error: Failed to determine the layout of your Qt installation. Try again
using

the --verbose flag to see more detail about the problem.


[Attachment #3 (text/html)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hello,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp; I seem to be having some problems compiling the commercial
version of PyQt on Windows. &nbsp;&nbsp;I suspect there is a configuration
option I am unaware of which would solve the problem. &nbsp;As I see it, there
are two problems happening here:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>1) The link step is pointing to the wrong directory for Qt. \
&nbsp;It seems to have found the correct location for includes, but cannot find it \
for libs.&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2) It is looking for QtCore.lib, which I do not seem to
have.&nbsp; I do have QtCore4.lib.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Below is a log of my attempt at building. &nbsp;Any advice
would be appreciated.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thank you<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>James Hinchey<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>--------------------------------------------------------------------------------------------------<o:p></o:p></span></font></p>


<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=FR style='font-size:10.0pt;
font-family:Arial'>C:\PyQt-win-commercial-4.8.3&gt;\python27\python.exe
configure.py --verbose<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Determining the layout of your Qt \
installation...<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>C:\svn\pkg\3rdParty\3rdPartyPackages\Qt-4.4.0-msvc.net_2003\bin\qmake.exe
                
-o qtdirs.mk qtdirs.pro<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>nmake -f qtdirs.mk release<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Microsoft (R) Program Maintenance Utility Version \
7.10.3077<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Copyright (C) Microsoft Corporation.&nbsp; All rights
reserved.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nmake -f
qtdirs.mk.Release<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Microsoft (R) Program Maintenance Utility Version \
7.10.3077<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Copyright (C) Microsoft Corporation.&nbsp; All rights
reserved.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl -c -nologo
-Zm300 -O2 -MD -W3 -w34100 -w34189 -DUNICODE -DWIN32 \
-DQT<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>LARGEFILE_SUPPORT -DQT_NO_DEBUG -DQT_CORE_LIB
-DQT_THREAD_SUPPORT -I&quot;c:\Qt\4.4.0\include\QtCore&quot;
-I&quot;c:\Qt\4.4.0\include&quot; -I&quot;c:\Qt\4.4.0\include\ActiveQt&quot;
-I&quot;release&quot; -I&quot;.&quot;
-I&quot;..\svn\pkg\3rdParty\3rdPartyPackages\Qt-4.4.0-msvc.net_2003\mksepcs\win32-msvc2003&quot;
                
-Forelease\ @C:\DOCUME~1\jhinchey\LOCALS~1\Temp\nm140.tmp<o:p></o:p></span></font></p>


<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>qtdirs.cpp<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; link
/LIBPATH:&quot;c:\Qt\4.4.0\lib&quot; /NOLOGO /INCREMENTAL:NO /SUBSYSTEM:WINDOWS
/OUT:release\qtdirs.exe \
@C:\DOCUME~1\jhinchey\LOCALS~1\Temp\nm141.tmp<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>LINK : fatal error LNK1181: cannot open input file
'QtCore.lib'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>NMAKE : fatal error U1077: 'link' : return code \
'0x49d'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Stop.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>NMAKE : fatal error U1077: '&quot;C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\bin\nmake.exe&quot;' : return code \
'0x2'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Stop.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Error: Failed to determine the layout of your Qt
installation. Try again using<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>the --verbose flag to see more detail about the \
problem.<o:p></o:p></span></font></p>

</div>

</body>

</html>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
--===============2912120997831030769==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic