1 Attachment(s)
Qt 4.2.3 Configure Issue...
Hi,
i originally ran configure with platform set to visual studio 6, but wanted to change that, so I tried to run nmake clean, but was not sucessful. I then uninstalled qt 4.2.3, reinstalled, ran configure -platform win32-msvc2005 and now configure doesn't build anymore. The complete output is attached in the text file included, but here is most of it, without the list of obj files it fails to find.
Creating qmake...
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32
-Igenerators\mac -I..\src\corelib\arch\generic -I..\include -I..\src\tools -I..\include\QtCore -I
..\mkspecs\win32-msvc -I..\src\3rdparty\md5 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPO
NENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_
THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM /Zc:wchar_t- project.cpp
Command line warning D4002 : ignoring unknown option '/Zc'
Command line warning D4002 : ignoring unknown option '/Z:'
Command line warning D4002 : ignoring unknown option '/Zw'
Command line warning D4002 : ignoring unknown option '/Zc'
Command line warning D4002 : ignoring unknown option '/Zh'
Command line warning D4002 : ignoring unknown option '/Zr'
Command line warning D4002 : ignoring unknown option '/Z_'
Command line warning D4002 : ignoring unknown option '/Zt'
Command line warning D4002 : ignoring unknown option '/Z-'
project.cpp
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2146: syntax error : missing ';'
before identifier 'i'
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'i' : missing storage-clas
s or type specifiers
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'e' : missing storage-clas
s or type specifiers
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2146: syntax error : missing '
;' before identifier 'qLowerBound'
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2433: 'const_iterator' : 'inli
ne' not permitted on data declarations
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2501: 'const_iterator' : missi
ng storage-class or type specifiers
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : fatal error C1903: unable to recover
from previous error(s); stopping compilation
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
del qbitarray.obj
Could Not Find C:\Qt\4.2.3\qmake\qbitarray.obj
del qbuffer.obj
Could Not Find C:\Qt\4.2.3\qmake\qbuffer.obj
del qfsfileengine.obj
Could Not Find ...
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32
-Igenerators\mac -I..\src\corelib\arch\generic -I..\include -I..\src\tools -I..\include\QtCore -I
..\mkspecs\win32-msvc -I..\src\3rdparty\md5 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPO
NENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_
THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM /Zc:wchar_t- project.cpp
Command line warning D4002 : ignoring unknown option '/Zc'
Command line warning D4002 : ignoring unknown option '/Z:'
Command line warning D4002 : ignoring unknown option '/Zw'
Command line warning D4002 : ignoring unknown option '/Zc'
Command line warning D4002 : ignoring unknown option '/Zh'
Command line warning D4002 : ignoring unknown option '/Zr'
Command line warning D4002 : ignoring unknown option '/Z_'
Command line warning D4002 : ignoring unknown option '/Zt'
Command line warning D4002 : ignoring unknown option '/Z-'
project.cpp
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2146: syntax error : missing ';'
before identifier 'i'
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'i' : missing storage-clas
s or type specifiers
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'e' : missing storage-clas
s or type specifiers
..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
instantiation 'QForeachContainer<T>' being compiled
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2146: syntax error : missing '
;' before identifier 'qLowerBound'
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2433: 'const_iterator' : 'inli
ne' not permitted on data declarations
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2501: 'const_iterator' : missi
ng storage-class or type specifiers
..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : fatal error C1903: unable to recover
from previous error(s); stopping compilation
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Building qmake failed, return code 2
Re: Qt 4.2.3 Configure Issue...
Anyone, thoughts, suggestions, insults?
Re: Qt 4.2.3 Configure Issue...
Delete the source tree and start over with a fres hcopy.
Actually it seems that you're missing some include files...
Have you test QTDIR and QTDIR/bin in the path and also QMAKESPEC to win32-msvc2005?
Re: Qt 4.2.3 Configure Issue...
I did remove the whole directory several times and reinstalled from scratch. Here is what the path variables look like:
user variables:
path:
C:\Qt\4.2.3\bin;
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;
C:\Program Files\Microsoft Visual Studio\Common\Tools;
C:\Program Files\Microsoft Visual Studio\VC98\bin
QMAKESPEC: win32-msvc2005
QTDIR:
C:\Qt\4.2.3
System Variables:
path:
C:\Perl\bin\;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
%INTEL_COMPILER80%\Ia32\Bin;
C:\Program Files\Intel\CPP\IDB73\Bin;
C:\Program Files\Subversion\bin;
%ANT_HOME%\bin;
C:\Program Files\010Editor;
C:\Program Files\Executive Software\Diskeeper\;
C:\Program Files\Microsoft SQL Server\90\Tools\binn\;
C:\Program Files\Common Files\Roxio Shared\DLLShared\;
C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;
C:\Program Files\Python25;%ICPP_COMPILER91%\IA32\Bin;
%IDB_PATH%IDB\9.1\IA32\Script;
C:\Qt\4.2.3\bin
QMAKESPEC: win32-msvc2005
Re: Qt 4.2.3 Configure Issue...
According to your configure output, your Visual Studio 6 binaries, includes, and libraries are still in your environment variables even though you're compiling for VS2005. You need to make sure that your enviroment is set correctly - with VS2005 you used to get a menu command "Visual Studio 2005 Command Prompt" - try building though that!
References to the Intel compiler are adding addiional confusion to your build environment - are you expecting to compile with "cl" or "ia32"?
Pete
Code:
INCLUDE=
C:\Program Files\Intel\CPP\Compiler80\Ia32\Include
C:\PROGRA~1\MICROS~3\VC98\ATL\INCLUDE
C:\PROGRA~1\MICROS~3\VC98\INCLUDE
C:\PROGRA~1\MICROS~3\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\atl\include
C:\Program Files\Microsoft Visual Studio\VC98\mfc\include
C:\Program Files\Microsoft Visual Studio\VC98\include
LIB=
C:\Program Files\Intel\CPP\Compiler80\Ia32\Lib
C:\PROGRA~1\MICROS~3\VC98\LIB
C:\PROGRA~1\MICROS~3\VC98\MFC\LIB
C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib
C:\Program Files\Microsoft Visual Studio\VC98\lib
PATH=
C:\Program Files\Intel\CPP\Compiler80\Ia32\Bin
C:\Program Files\Common Files\Intel\Shared Files\Ia32\Bin
C:\PROGRA~1\MICROS~3\Common\msdev98\BIN
C:\PROGRA~1\MICROS~3\VC98\BIN
C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT
C:\PROGRA~1\MICROS~3\Common\TOOLS
C:\Perl\bin\
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Intel\CPP\Compiler80\Ia32\Bin
C:\Program Files\Intel\CPP\IDB73\Bin
C:\Program Files\Subversion\bin
C:\Ant\apache-ant\bin
C:\Program Files\010Editor
C:\Program Files\Executive Software\Diskeeper\
C:\Program Files\Microsoft SQL Server\90\Tools\binn\
C:\Program Files\Common Files\Roxio Shared\DLLShared\
C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\
C:\Program Files\Python25
C:\Program Files\Intel\Compiler\C++\9.1\IA32\Bin
C:\Program Files\Intel\IDB\9.1\IA32\Script
C:\Program Files\QuickTime\QTSystem\
C:\Qt\4.2.3\bin
C:\Qt\4.2.3\bin
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\Common\Tools
C:\Program Files\Microsoft Visual Studio\VC98\bin