Results 1 to 5 of 5

Thread: Qt 4.2.3 Configure Issue...

  1. #1
    Join Date
    May 2007
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default 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
    Attached Files Attached Files

  2. #2
    Join Date
    May 2007
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Qt 4.2.3 Configure Issue...

    Anyone, thoughts, suggestions, insults?

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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?

  4. #4
    Join Date
    May 2007
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default 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

  5. #5
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default 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

    Qt Code:
    1. INCLUDE=
    2. C:\Program Files\Intel\CPP\Compiler80\Ia32\Include
    3. C:\PROGRA~1\MICROS~3\VC98\ATL\INCLUDE
    4. C:\PROGRA~1\MICROS~3\VC98\INCLUDE
    5. C:\PROGRA~1\MICROS~3\VC98\MFC\INCLUDE
    6. C:\Program Files\Microsoft Visual Studio\VC98\atl\include
    7. C:\Program Files\Microsoft Visual Studio\VC98\mfc\include
    8. C:\Program Files\Microsoft Visual Studio\VC98\include
    9. LIB=
    10. C:\Program Files\Intel\CPP\Compiler80\Ia32\Lib
    11. C:\PROGRA~1\MICROS~3\VC98\LIB
    12. C:\PROGRA~1\MICROS~3\VC98\MFC\LIB
    13. C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib
    14. C:\Program Files\Microsoft Visual Studio\VC98\lib
    15. PATH=
    16. C:\Program Files\Intel\CPP\Compiler80\Ia32\Bin
    17. C:\Program Files\Common Files\Intel\Shared Files\Ia32\Bin
    18. C:\PROGRA~1\MICROS~3\Common\msdev98\BIN
    19. C:\PROGRA~1\MICROS~3\VC98\BIN
    20. C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT
    21. C:\PROGRA~1\MICROS~3\Common\TOOLS
    22. C:\Perl\bin\
    23. C:\WINDOWS\system32
    24. C:\WINDOWS
    25. C:\WINDOWS\System32\Wbem
    26. C:\Program Files\Intel\CPP\Compiler80\Ia32\Bin
    27. C:\Program Files\Intel\CPP\IDB73\Bin
    28. C:\Program Files\Subversion\bin
    29. C:\Ant\apache-ant\bin
    30. C:\Program Files\010Editor
    31. C:\Program Files\Executive Software\Diskeeper\
    32. C:\Program Files\Microsoft SQL Server\90\Tools\binn\
    33. C:\Program Files\Common Files\Roxio Shared\DLLShared\
    34. C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\
    35. C:\Program Files\Python25
    36. C:\Program Files\Intel\Compiler\C++\9.1\IA32\Bin
    37. C:\Program Files\Intel\IDB\9.1\IA32\Script
    38. C:\Program Files\QuickTime\QTSystem\
    39. C:\Qt\4.2.3\bin
    40. C:\Qt\4.2.3\bin
    41. C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
    42. C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
    43. C:\Program Files\Microsoft Visual Studio\Common\Tools
    44. C:\Program Files\Microsoft Visual Studio\VC98\bin
    To copy to clipboard, switch view to plain text mode 
    Last edited by pdolbey; 13th May 2007 at 13:11. Reason: Added Intel comment

Similar Threads

  1. Qt 4.2.3 with MSVC 2005 and MySQL
    By whitefurrows in forum Qt Programming
    Replies: 4
    Last Post: 3rd May 2007, 17:32
  2. Install Qt4.2.3 on MacOSX - configure ?
    By kuroyume0161 in forum Installation and Deployment
    Replies: 2
    Last Post: 17th March 2007, 01:18
  3. MainWindow Menu bug in Qt 4.2.3?
    By No-Nonsense in forum Qt Programming
    Replies: 4
    Last Post: 11th March 2007, 12:47
  4. Mysql LD_LIBRARY_PATH Issue
    By Think_Positive in forum Installation and Deployment
    Replies: 3
    Last Post: 13th February 2007, 20:16
  5. Can't configure for Win32 MSVC .NET
    By saber850 in forum Installation and Deployment
    Replies: 8
    Last Post: 28th February 2006, 17:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.