ich teste gerade gerade die aktuelle Beta von Windows 7 und bin dabei auf ein interessantes Problem gestoßen...
Wenn ich mit Visual Studio 2007 Express versuche über die Kommandozeile Qt Programme zu compilen erhalte ich diesen Fehler:
Code: Alles auswählen
link /LIBPATH:"e:\Entwicklung\lib\qt-4.4.3\lib" /LIBPATH:"e:\Entwicklung
\lib\qt-4.4.3\lib" /NOLOGO /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"tmp\obj\rele
ase_shared\t1.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:typ
e='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyTo
ken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:release\t1.e
xe @C:\Users\Strayer\AppData\Local\Temp\nmC6FD.tmp
mt.exe -nologo -manifest "tmp\obj\release_shared\t1.intermediate.manifes
t" -outputresource:release\t1.exe;1
mt.exe : general error c101008d: Failed to write the updated manifest to the res
ource of file "release\t1.exe". The binary is not a valid Windows image.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\m
t.exe"": Rückgabe-Code "0x1f"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"": Rückgabe-Code "0x2"
Stop.Ich denke also mal, dass es an der generierten Makefile liegt, aber meine Kentnisse haben was das anbelangt ziemliche Grenzen.
Hat da jemand eine Idee?
Makefile
Makefile.Debug
Nachtrag:
Normales compilen über die Kommandozeile funktioniert ohne Probleme.
Code: Alles auswählen
E:\Entwicklung\wmi_cpp>cl ipzeug.cpp
Microsoft (R) 32-Bit C/C++-Optimierungscompiler Version 15.00.30729.01 für 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
ipzeug.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++-Handler verwendet, aber Entladesemantik ist nicht aktiviert. Geben Sie
/EHsc an.
Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
/out:ipzeug.exe
ipzeug.obj
E:\Entwicklung\wmi_cpp>ipzeug
Connected to ROOT\CIMV2 WMI namespace
IP Count: 2
IP 0: 192.168.1.23
IP 1: fe80::f55f:e839:6506:c899
E:\Entwicklung\wmi_cpp>