Seite 1 von 1

QT bauen für msvc2005 läuft nicht

Verfasst: 6. Juni 2008 21:47
von User
Ich will QT auf meinem zweiten Rechner installieren und es will nicht recht. Configure läuft durch, aber nmake bricht sofort beim ersten linken ab (mt.exe error 0x1f). Ich bin wie in der install-datei beschrieben vorgegangen, aber weder 4.4 noch 4.3.4 wollen sich bauen lassen. Mehrmaliges Durchlaufen der Prozedur mit komplettem Löschen der Qt-Ordner und verschiedenen Qt-Versionen haben nicht geholfen. Weiß jemand Rat?

Verfasst: 6. Juni 2008 22:03
von PeterLustig
Wie wärs wenn du uns die Fehlermeldung mitteilst?
Und zwar die Komplette. Denn meine Kristallkugel ist leider kaputt..

Verfasst: 7. Juni 2008 11:14
von User
Hier mal ein Dump der gesamten Ausgabe von nmake. Habe die gleichen Schritte gestern abend noch auf einem dritten Rechner durchgeführt (VS installieren, Qt kompilieren), und es lief problemlos.

Code: Alles auswählen

C:\Qt\qt-win-opensource-src-4.4.0>nmake

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

        cd src\winmain\ && "C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake.
exe" -f Makefile

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

        "C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefile.De
bug all

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

        cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -W3 -w34100 -w34189 -GR -EHsc
 -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_AS
CII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -
I"..\..\include" -I"tmp" -I"..\..\include\QtCore" -I"c:\Qt\qt-win-opensource-src
-4.4.0\include\qtmain" -I"tmp\rcc\debug_shared" -I"tmp" -I"c:\Qt\qt-win-opensour
ce-src-4.4.0\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"..\..\mkspecs\w
in32-msvc2005" -Fotmp\obj\debug_shared\ @C:\DOKUME~1\Marcin\LOKALE~1\Temp\nm3.tm
p
qtmain_win.cpp
        lib /NOLOGO /OUT:..\..\lib\qtmaind.lib @C:\DOKUME~1\Marcin\LOKALE~1\Temp
\nm4.tmp
        "C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefile.Re
lease all

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

        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W3 -w34100 -w34189 -GR -EHsc
-DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASC
II -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -D
QT_NO_DEBUG -I"..\..\include" -I"tmp" -I"..\..\include\QtCore" -I"c:\Qt\qt-win-o
pensource-src-4.4.0\include\qtmain" -I"tmp\rcc\debug_shared" -I"tmp" -I"c:\Qt\qt
-win-opensource-src-4.4.0\include\ActiveQt" -I"tmp\moc\release_shared" -I"." -I"
..\..\mkspecs\win32-msvc2005" -Fotmp\obj\release_shared\ @C:\DOKUME~1\Marcin\LOK
ALE~1\Temp\nm5.tmp
qtmain_win.cpp
        lib /NOLOGO /OUT:..\..\lib\qtmain.lib @C:\DOKUME~1\Marcin\LOKALE~1\Temp\
nm6.tmp
        cd src\tools\moc\ && "C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmak
e.exe" -f Makefile

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

        "C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefile.Re
lease

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

        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODE
CS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATAST
REAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -
DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_
USING_NAMESPACE -DQT_NODLL -I"..\..\corelib\arch\generic" -I"..\..\..\include" -
I"." -I"..\..\..\include\QtCore" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2005"
 -Forelease\ @C:\DOKUME~1\Marcin\LOKALE~1\Temp\nm7.tmp
moc.cpp
preprocessor.cpp
generator.cpp
parser.cpp
token.cpp
main.cpp
Generating Code...
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODE
CS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATAST
REAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -
DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_
USING_NAMESPACE -DQT_NODLL -I"..\..\corelib\arch\generic" -I"..\..\..\include" -
I"." -I"..\..\..\include\QtCore" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2005"
 -Forelease\ @C:\DOKUME~1\Marcin\LOKALE~1\Temp\nm8.tmp
qglobal.cpp
qmalloc.cpp
qnumeric.cpp
Generating Code...
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODE
CS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATAST
REAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -
DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_
USING_NAMESPACE -DQT_NODLL -I"..\..\corelib\arch\generic" -I"..\..\..\include" -
I"." -I"..\..\..\include\QtCore" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2005"
 -Forelease\ @C:\DOKUME~1\Marcin\LOKALE~1\Temp\nm9.tmp
qbuffer.cpp
qdir.cpp
qdiriterator.cpp
qfile.cpp
qfileinfo.cpp
qfsfileengine.cpp
qfsfileengine_iterator.cpp
qiodevice.cpp
qtemporaryfile.cpp
qtextstream.cpp
qurl.cpp
qabstractfileengine.cpp
qfsfileengine_win.cpp
qfsfileengine_iterator_win.cpp
Generating Code...
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODE
CS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATAST
REAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -
DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_
USING_NAMESPACE -DQT_NODLL -I"..\..\corelib\arch\generic" -I"..\..\..\include" -
I"." -I"..\..\..\include\QtCore" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2005"
 -Forelease\ @C:\DOKUME~1\Marcin\LOKALE~1\Temp\nmA.tmp
qmetatype.cpp
qvariant.cpp
Generating Code...
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODE
CS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATAST
REAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -
DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_
USING_NAMESPACE -DQT_NODLL -I"..\..\corelib\arch\generic" -I"..\..\..\include" -
I"." -I"..\..\..\include\QtCore" -I"." -I"." -I"..\..\..\mkspecs\win32-msvc2005"
 -Forelease\ @C:\DOKUME~1\Marcin\LOKALE~1\Temp\nmB.tmp
qbytearraymatcher.cpp
qdatetime.cpp
qhash.cpp
qlistdata.cpp
qlocale.cpp
qmap.cpp
qstring.cpp
qstringlist.cpp
qvector.cpp
qbytearray.cpp
qvsnprintf.cpp
Generating Code...
        link /NOLOGO /INCREMENTAL:NO /SUBSYSTEM:CONSOLE /MANIFEST /MANIFESTFILE:
"release\moc.intermediate.manifest" /OUT:..\..\..\bin\moc.exe @C:\DOKUME~1\Marci
n\LOKALE~1\Temp\nmC.tmp
        mt.exe -nologo -manifest "release\moc.intermediate.manifest" -outputreso
urce:..\..\..\bin\moc.exe;1
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\mt.ex
e"' : return code '0x1f'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake
.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Verfasst: 7. Juni 2008 14:59
von Christian81
Mal wieder das alte mt.exe - Problem. Foren-Suche nach mt.exe sollte helfen denke ich.
Deine Partition ist wohl fat32 - probiere es mal auf einer ntfs-Partiton aus. Ist ein M$-Bug.