[Qt-interest] Qt 64Bit for windows

caius ligarius caius9090 at gmail.com
Wed Nov 17 04:22:21 CET 2010


So I come to a certain point with the build and now I get the following
error-

Running syncqt...
Creating qmake...

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c -Foproject.obj  -W3 -nologo -O2  -I. -Igenerators
-Igenerators\uni
x -Igenerators\win32 -Igenerators\mac -Igenerators\symbian  -IC:\Qt\include
-IC:
\Qt\include\QtCore  -IC:\Qt\4.6.1\include -IC:\Qt\4.6.1\include\QtCore
 -IC:\Qt\
src\corelib\global  -IC:\Qt\src\corelib\xml
 -IC:\Qt\4.6.1\mkspecs\win32-msvc200
8   -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL
-DQT_
NO_STL  -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE
-DQT_NO_T
HREAD  -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE
-DQT
_BOOTSTRAPPED   -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\vc\include\windef.h(184)
: fa
tal error C1083: Cannot open include file: 'winnt.h': No such file or
directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
9.0\
vc\bin\cl.EXE"' : return code '0x2'
Stop.

Why is it not finding these header files? If I explsicitly include the paths
for these header files in my include variable then it complaints for
something else!

This is so frustrating. I didn't know compiling Qt in 64Bit would be such a
hassel, any ideas?

Btw, I am trying to compile this on windows server 2008

Caius


On Mon, Nov 15, 2010 at 7:35 PM, Malyushytsky, Alex <alex at wai.com> wrote:

>  Looks like you are starting configure not at the Qt folder.
>
> Use cd command to go to the folder where configure is.
>
>
>
> Alex
>
>
>
>
>
> *From:* caius ligarius [mailto:caius9090 at gmail.com]
> *Sent:* Monday, November 15, 2010 6:06 PM
>
> *To:* Malyushytsky, Alex
> *Cc:* qt-interest at trolltech.com
> *Subject:* Re: [Qt-interest] Qt 64Bit for windows
>
>
>
> Thanks. This were the command I was looking for. Now I get the following
> error on typing -
> "C:\Program Files (x86)\Microsoft Visual Studio 9.0\vc\bin>configure
> -platform win32-msvc2008 -debug-and-release"
>
> /////////////////////////////////
> Error-
>
> Running syncqt...
> Creating qmake...
>
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>         cl -c -Foproject.obj  -W3 -nologo -O2  -I. -Igenerators
> -Igenerators\uni
> x -Igenerators\win32 -Igenerators\mac -Igenerators\symbian  -IC:\Program
> Files (
> x86)\Microsoft Visual Studio 9.0\vc\bin\include -IC:\Program Files
> (x86)\Microso
> ft Visual Studio 9.0\vc\bin\include\QtCore  -IC:\Qt\4.6.1\include
> -IC:\Qt\4.6.1\
> include\QtCore  -IC:\Program Files (x86)\Microsoft Visual Studio
> 9.0\vc\bin\src\
> corelib\global  -IC:\Program Files (x86)\Microsoft Visual Studio
> 9.0\vc\bin\src\
> corelib\xml  -IC:\Qt\4.6.1\mkspecs\win32-msvc2008   -DQT_NO_TEXTCODEC
> -DQT_NO_UN
> ICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL  -DQT_NO_COMPRESS
> -DUNICO
> DE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD  -DQT_NO_QOBJECT
> -DQT_NO_G
> EOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED
> -DQMAKE_OPENSOUR
> CE_EDITION project.cpp
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\
> vc\bin\cl.EXE"' : return code '0xc0000135'
> Stop.
>
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\
> vc\bin\cl.EXE"' : return code '0xc0000135'
>
>
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>         del qbitarray.obj
> Could Not Find C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\vc\bin\qmake\q
> bitarray.obj
> //////////////////////////////////
>
> Any ideas?
>
> Caius
>
>  On Mon, Nov 15, 2010 at 4:44 PM, Malyushytsky, Alex <alex at wai.com> wrote:
>
>
> I've mentioned already, you don't need to do anything special in configure
> to specify that you want 64 bit.
> For example to build win32 and x64 versions of Qt  I invoke the SAME
> commands for configure.
>
> The difference is which compiler you invoke.
> Microsoft provides win32, x64 cross compiler ( compile 64 bit on win32
> systems) and finally x64 compiler.
> Set correct environment in any way possible, run configure ...
>
>
> Just an example how I do it with Visual Studio 2005.
> Open console window with environment set for compiler I want
>
> - for win32:
> \Start\All Programs\Microsoft Visual Studio 2005\Visual Studio Tools\Visual
> Studio 2005 Command Prompt
> - for x64
> \Start\All Programs\Microsoft Visual Studio 2005\Visual Studio Tools\Visual
> Studio 2005 x64 Win64 Command Prompt
>
>
> Then in command prompt type:
> configure -platform win32-msvc2005  -debug-and-release
>
> when it is finished type:
> nmake
>
>
> Regards,
>
>  Alex
>
> From: caius ligarius [mailto:caius9090 at gmail.com]
>
> Sent: Monday, November 15, 2010 3:14 PM
> To: Malyushytsky, Alex
>
> Cc: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] Qt 64Bit for windows
>
> Thanks again. The documentation doesn't say anything about configure for
> 64Bit. the reason i said cryptic was because it doesn't say exactly what
> option i need to specify for 64bit. i tried a few options but looks like it
> didn't do anything. any ideas as to what options i would give for configure?
> after that how would i use nmake to compile the libraries?
>
> On Mon, Nov 15, 2010 at 2:54 PM, Malyushytsky, Alex <alex at wai.com> wrote:
> >> I looked the Qt's instructions to install on windows but it is very
> cryptic and not very clear for a novice programmer like me who is not very
> familiar with compiling Qt even on x86 systems.
>
> AFAIK there is no way to build Qt (since 4.1+ ) in "non- cryptic" so you
> have to follow the instructions.
> And again there is no to little difference for which system you build.
>
> The whole building process consists of a few steps:
>
> -          Set environment for compiler.
> -          Let Qt know which compiler settings to use (configure )
> -          Invoke compilation (nmake, etc)
>
> Unfortunately I can't explain it better than documentation does.
>
> Alex
>
>
> From: qt-interest-bounces at trolltech.com [mailto:
> qt-interest-bounces at trolltech.com] On Behalf Of caius ligarius
> Sent: Monday, November 15, 2010 1:34 PM
> To: Daniel Franke
>
> Cc: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] Qt 64Bit for windows
>
> No I have not tried to compile using MinGW. I am not really much of a
> programmer and am struggling to compile on 64Bit without any clear
> documentation to do this. I looked the Qt's instructions to install on
> windows but it is very cryptic and not very clear for a novice programmer
> like me who is not very familiar with compiling Qt even on x86 systems.
>
> Caius
>
>
>
> On Mon, Nov 15, 2010 at 12:52 PM, Daniel Franke <franke.daniel at gmail.com>
> wrote:
> 2010/11/13 Konstantin Tokarev <annulen at yandex.ru>:
> > 13.11.2010, 06:14, "caius ligarius" <caius9090 at gmail.com>:
> > > Are there 64Bit Qt libraries available for windows? If not, then will I
> need
> > > to download source and build in 64Bit in order to get these libraries?
> >
> > Do you have stable MinGW for 64-bit Windows?
> Hi Konstantin,
>
> to me, as a casual observer, this project very much looks like it:
>
>    http://mingw-w64.sourceforge.net/
>    http://sourceforge.net/projects/mingw-w64/files/
>
> Did, by any chance, you try to compile Qt on 64bit Windows with this?
> Any experience you - or anyone else - could share?
>
> Thanks
>
>     Daniel
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
>
> ---------------------------------------------------------------------------------------------------
> Weidlinger Associates, Inc. made the following annotations.
>
> "This message and any attachments are solely for the intended recipient and
> may contain confidential or privileged information. If you are not the
> intended recipient, any disclosure, copying, use, or distribution of the
> information included in this message and any attachments is prohibited. If
> you have received this communication in error, please notify us by reply
> e-mail and immediately and permanently delete this message and any
> attachments. Thank you."
>
> "Please consider our environment before printing this email."
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101116/c1fed451/attachment.html 


More information about the Qt-interest-old mailing list