Statisches Kompilieren macht schwierigkeiten.

Alles rund um die Programmierung mit Qt
Antworten
LQ
Beiträge: 46
Registriert: 3. Oktober 2007 13:16

Statisches Kompilieren macht schwierigkeiten.

Beitrag von LQ »

Da ich nich mit jedem prog die dll's mitliefern wollte, hab ich mir gedacht, dass ich jetz mal gt statisch kompiliere, da das laut allen anleitungen alles so einfach ist.

einfach im qt verzeichnis "configure -static" ausführen und alles passiert von selbst. denkste.

erstmal findet er kein nmake. also, nmake ins verzeichnis kopieren. dann findet er kein cl. cl ins verzeichnis kopieren (ist im VS2005 Verzeichnis\VC\bin). dann findet cl ein paar dlls nicht. also, alees aus dem bin ordner ins verzeichnis kopieren. immernoch nix. alles in das qmake verzeichnis kopieren.

danach will er mir aber auch noch die ganzen dev-c++ + gtk libs kompilieren. also die umgebungsvaraiblen alle bis auf die von qt löschen und dann noch die von visual studio hinzufügen (vorher sicherheitskopien.).

immernoch jammert er mitten beim kompilieren wegen dlls.
also dachte ich mir schluss jetzt: ins vs verzeichnis, mit der suchfunktion alle dlls finden und nach system32 schmeißen.

gut danach hat er etwa 10min. brav kompiliert, bis er mir sagte qt blabla is now ready... jeust run nmake.exe

ok, juhu, dachte ich: nmake.exe ausgeführt: er arbeitet wie am schnürchen - 10sek. lang. danach ein fehler, mit dem ich überhaupt nix anfangen kann.

ich dachte, lass ich das jetzt, doch ich muss es doch zu ende führen, da VS mir jetzt NIX mehr kompilieren will.

hier ein screenshot zum fehler:

http://img394.imageshack.us/img394/3637/errorcm8.jpg
Zuletzt geändert von LQ am 6. Oktober 2007 15:18, insgesamt 1-mal geändert.
Christian81
Beiträge: 7319
Registriert: 26. August 2004 14:11
Wohnort: Bremen
Kontaktdaten:

Beitrag von Christian81 »

Mal wieder der Standard-Fehler (Anleitungen genau durchlesen!). Kopieren von nmake usw. ist nie nötig...
Man muss die VisualStudio Eingabeaufforderung benutzen und nicht cmd.exe damit auch PATH usw. richtig gesetzt werden.
MfG Christian

'Funktioniert nicht' ist keine Fehlerbeschreibung
LQ
Beiträge: 46
Registriert: 3. Oktober 2007 13:16

Beitrag von LQ »

ok danke, aber der auf dem screenshot gezeigte fehler tritt auch bei der VisualStudio Eingabeaufforderung auf
Christian81
Beiträge: 7319
Registriert: 26. August 2004 14:11
Wohnort: Bremen
Kontaktdaten:

Beitrag von Christian81 »

Das Problem wurde in einem aktuellen Patch behoben bzw. nimm 4.3.2 - da wird in der OpenSource Version native msvc unterstützt.
MfG Christian

'Funktioniert nicht' ist keine Fehlerbeschreibung
LQ
Beiträge: 46
Registriert: 3. Oktober 2007 13:16

Beitrag von LQ »

so, nund jetzt jammert er wegen der libpng.lib, die nicht vorhanden ist.

der will sie wohl um jedern preis kompilieren. wo bekomm ich died atei her, oder sag ihm er soll sie überspringen/auslassen?
Christian81
Beiträge: 7319
Registriert: 26. August 2004 14:11
Wohnort: Bremen
Kontaktdaten:

Beitrag von Christian81 »

configure.exe - Optionen anschauen und staunen... :roll:

-qt-libpng
MfG Christian

'Funktioniert nicht' ist keine Fehlerbeschreibung
LQ
Beiträge: 46
Registriert: 3. Oktober 2007 13:16

Beitrag von LQ »

jetz bekomm ich folgendes:
Bild
Christian81
Beiträge: 7319
Registriert: 26. August 2004 14:11
Wohnort: Bremen
Kontaktdaten:

Beitrag von Christian81 »

ok, vielleicht nochmal

Es gibt Qt 4.3.2 - dort ist der msvc support schon offiziell drin und es kompiliert auch ohne Probleme...

/edit: Und außerdem ist es eine Unsitte Bilder von Kompilerfehlern zu posten - man kann sie auch ganz einfach kopieren!
MfG Christian

'Funktioniert nicht' ist keine Fehlerbeschreibung
LQ
Beiträge: 46
Registriert: 3. Oktober 2007 13:16

Beitrag von LQ »

das schon, aber die firma eines bekannten hat eine lizenz für qt 4.3 commercial (desktop) übrig (weil ein programmierer ausgestiegen ist) und die hab jetzt ich bekommen.

warum also sollte ich auf die opensoure verion umsteigen, wenn ich die commercial hab?
Christian81
Beiträge: 7319
Registriert: 26. August 2004 14:11
Wohnort: Bremen
Kontaktdaten:

Beitrag von Christian81 »

Weil Du das nirgends gesagt hast und weil 4.3.2 jetzt auch für msvc geht (also für den einfachen Hobbyprogrammierer wesentlich besser)

Und jetzt zeige mal die erste Fehlermeldung die aufgetreten ist. Und bitte nicht als Bild - aus der Konsole kann man auch Daten kopieren.
MfG Christian

'Funktioniert nicht' ist keine Fehlerbeschreibung
LQ
Beiträge: 46
Registriert: 3. Oktober 2007 13:16

Beitrag von LQ »

ok;

1.fehler:

Code: Alles auswählen

D:\VS8\Qt\4.3.0>nmake

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

        cd src\winmain\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd src\tools\moc\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        cd src\tools\rcc\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        cd src\tools\uic\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        cd src\corelib\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd src\xml\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd src\gui\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        cl -c -FIqt_gui_pch.h -Yuqt_gui_pch.h -Fptmp\obj\debug_static\QtGuid_pch
.pch -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -W3 -w34100 -w34189 -GR -EHsc -DQT_THR
EAD_SUPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DES
KTOP -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUP
PORT -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAI
NTENGINE -DQT_NO_CUPS -DQT_NO_LPR -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -D
QT_HAVE_SSE2 -DQT_NO_FREETYPE -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQ_INTERNAL_QA
PP_SRC -DQT_CORE_LIB -I"..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\
include" -I"..\..\include\QtGui" -I"tmp" -I"..\3rdparty\wintab" -I"..\3rdparty\l
ibpng" -I"..\3rdparty\zlib" -I"dialogs" -I"..\..\include\ActiveQt" -I"tmp\moc\de
bug_static" -I"." -I"..\..\mkspecs\win32-msvc2005" -Fotmp\obj\debug_static\ @C:\
DOKUME~1\Ares\LOKALE~1\Temp\nm2A8.tmp
moc_qwizard_win_p.cpp
tmp\moc\debug_static\moc_qwizard_win_p.cpp(36) : error C2653: 'QVistaHelper': Ke
ine Klasse oder Namespace
tmp\moc\debug_static\moc_qwizard_win_p.cpp(41) : error C2653: 'QVistaHelper': Ke
ine Klasse oder Namespace
tmp\moc\debug_static\moc_qwizard_win_p.cpp(42) : error C2270: 'metaObject': Modi
fizierer für Funktionen, die keine Memberfunktionen sind, nicht zulässig
tmp\moc\debug_static\moc_qwizard_win_p.cpp(46) : error C2653: 'QVistaHelper': Ke
ine Klasse oder Namespace
tmp\moc\debug_static\moc_qwizard_win_p.cpp(50) : error C2061: Syntaxfehler: Beze
ichner 'QVistaHelper'
tmp\moc\debug_static\moc_qwizard_win_p.cpp(50) : error C2146: Syntaxfehler: Fehl
endes '(' vor Bezeichner 'QVistaHelper'
tmp\moc\debug_static\moc_qwizard_win_p.cpp(51) : error C2352: 'QObject::qt_metac
ast': Unzulässiger Aufruf einer nicht statischen Memberfunktion
        d:\vs8\qt\4.3.0\include\qtcore\../../src/corelib/kernel/qobject.h(92): S
iehe Deklaration von 'QObject::qt_metacast'
tmp\moc\debug_static\moc_qwizard_win_p.cpp(54) : error C2653: 'QVistaHelper': Ke
ine Klasse oder Namespace
tmp\moc\debug_static\moc_qwizard_win_p.cpp(56) : error C2352: 'QObject::qt_metac
all': Unzulässiger Aufruf einer nicht statischen Memberfunktion
        d:\vs8\qt\4.3.0\include\qtcore\../../src/corelib/kernel/qobject.h(92): S
iehe Deklaration von 'QObject::qt_metacall'
NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

D:\VS8\Qt\4.3.0>
2.fehler (der auftritt, wenn ich den 1.fehler überspringe indem ich statt nmake nmake /I eingebe)

Code: Alles auswählen

        cd iconengines\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd svgiconengine\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd codecs\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd cn\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd jp\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd tw\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd kr\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd tools\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd assistant\lib\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd assistant\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        link /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /NOLO
GO /INCREMENTAL:NO /MANIFESTFILE:"tmp\obj\release_static\assistant.intermediate.
manifest" /SUBSYSTEM:WINDOWS /OUT:..\..\bin\assistant.exe @C:\DOKUME~1\Ares\LOKA
LE~1\Temp\nm2AC.tmp
helpdialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""
public: static struct QMetaObject const QListView::staticMetaObject" (?staticMet
aObject@QListView@@2UQMetaObject@@B)" in Funktion ""class QListView * __cdecl qo
bject_cast<class QListView *>(class QObject *)" (??$qobject_cast@PAVQListView@@@
@YAPAVQListView@@PAVQObject@@@Z)".
helpdialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""
public: static struct QMetaObject const QListWidget::staticMetaObject" (?staticM
etaObject@QListWidget@@2UQMetaObject@@B)" in Funktion ""class QListWidget * __cd
ecl qobject_cast<class QListWidget *>(class QObject *)" (??$qobject_cast@PAVQLis
tWidget@@@@YAPAVQListWidget@@PAVQObject@@@Z)".
helpdialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""
public: static struct QMetaObject const QTreeWidget::staticMetaObject" (?staticM
etaObject@QTreeWidget@@2UQMetaObject@@B)" in Funktion ""class QTreeWidget * __cd
ecl qobject_cast<class QTreeWidget *>(class QObject *)" (??$qobject_cast@PAVQTre
eWidget@@@@YAPAVQTreeWidget@@PAVQObject@@@Z)".
tabbedbrowser.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
 ""public: static struct QMetaObject const QStackedWidget::staticMetaObject" (?s
taticMetaObject@QStackedWidget@@2UQMetaObject@@B)" in Funktion ""class QStackedW
idget * __cdecl qFindChild<class QStackedWidget *>(class QObject const *,class Q
String const &)" (??$qFindChild@PAVQStackedWidget@@@@YAPAVQStackedWidget@@PBVQOb
ject@@ABVQString@@@Z)".
tabbedbrowser.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
 ""public: static struct QMetaObject const QTabBar::staticMetaObject" (?staticMe
taObject@QTabBar@@2UQMetaObject@@B)" in Funktion ""class QTabBar * __cdecl qFind
Child<class QTabBar *>(class QObject const *,class QString const &)" (??$qFindCh
ild@PAVQTabBar@@@@YAPAVQTabBar@@PBVQObject@@ABVQString@@@Z)".
moc_fontpanel.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: s
tatic struct QMetaObject const QGroupBox::staticMetaObject" (?staticMetaObject@Q
GroupBox@@2UQMetaObject@@B)".
moc_helpwindow.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QTextBrowser::staticMetaObject" (?staticMetaObje
ct@QTextBrowser@@2UQMetaObject@@B)".
moc_topicchooser.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public
: static struct QMetaObject const QDialog::staticMetaObject" (?staticMetaObject@
QDialog@@2UQMetaObject@@B)".
moc_fontsettingsdialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""
public: static struct QMetaObject const QDialog::staticMetaObject" (?staticMetaO
bject@QDialog@@2UQMetaObject@@B)".
moc_helpdialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaObject@QW
idget@@2UQMetaObject@@B)".
moc_tabbedbrowser.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""publi
c: static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaObject
@QWidget@@2UQMetaObject@@B)".
moc_helpdialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QValidator::staticMetaObject" (?staticMetaObject
@QValidator@@2UQMetaObject@@B)".
moc_mainwindow.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QMainWindow::staticMetaObject" (?staticMetaObjec
t@QMainWindow@@2UQMetaObject@@B)".
..\..\bin\assistant.exe : fatal error LNK1120: 11 nicht aufgelöste externe Verwe
ise.
NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
        cd examples\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd desktop\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd screenshot\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        link /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /NOLO
GO /DEBUG /MANIFESTFILE:"tmp\obj\debug_static\screenshot.intermediate.manifest"
/SUBSYSTEM:WINDOWS /OUT:debug\screenshot.exe @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm2
AF.tmp
moc_screenshot.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaObject@QW
idget@@2UQMetaObject@@B)".
debug\screenshot.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.

NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
        cd demos\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd shared\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        cd deform\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        link /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /NOLO
GO /INCREMENTAL:NO /MANIFESTFILE:"tmp\obj\release_static\deform.intermediate.man
ifest" /SUBSYSTEM:WINDOWS /OUT:release\deform.exe @C:\DOKUME~1\Ares\LOKALE~1\Tem
p\nm2B1.tmp
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public
: static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaObject@
QWidget@@2UQMetaObject@@B)" in Funktion ""class QList<class QWidget *> __cdecl q
FindChildren<class QWidget *>(class QObject const *,class QString const &)" (??$
qFindChildren@PAVQWidget@@@@YA?AV?$QList@PAVQWidget@@@@PBVQObject@@ABVQString@@@
Z)".
demo_shared.lib(moc_arthurwidgets.obj) : error LNK2001: Nicht aufgelöstes extern
es Symbol ""public: static struct QMetaObject const QWidget::staticMetaObject" (
?staticMetaObject@QWidget@@2UQMetaObject@@B)".
QtOpenGL.lib(moc_qgl.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""p
ublic: static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaOb
ject@QWidget@@2UQMetaObject@@B)".
demo_shared.lib(arthurstyle.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol ""public: static struct QMetaObject const QPushButton::staticMet
aObject" (?staticMetaObject@QPushButton@@2UQMetaObject@@B)" in Funktion ""class
QPushButton const * __cdecl qobject_cast<class QPushButton const *>(class QObjec
t const *)" (??$qobject_cast@PBVQPushButton@@@@YAPBVQPushButton@@PBVQObject@@@Z)
".
demo_shared.lib(arthurstyle.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol ""public: static struct QMetaObject const QGroupBox::staticMetaO
bject" (?staticMetaObject@QGroupBox@@2UQMetaObject@@B)" in Funktion ""class QGro
upBox * __cdecl qobject_cast<class QGroupBox *>(class QObject *)" (??$qobject_ca
st@PAVQGroupBox@@@@YAPAVQGroupBox@@PAVQObject@@@Z)".
demo_shared.lib(arthurstyle.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol ""public: static struct QMetaObject const QRadioButton::staticMe
taObject" (?staticMetaObject@QRadioButton@@2UQMetaObject@@B)" in Funktion ""clas
s QRadioButton * __cdecl qobject_cast<class QRadioButton *>(class QObject *)" (?
?$qobject_cast@PAVQRadioButton@@@@YAPAVQRadioButton@@PAVQObject@@@Z)".
demo_shared.lib(arthurstyle.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol ""public: static struct QMetaObject const QSlider::staticMetaObj
ect" (?staticMetaObject@QSlider@@2UQMetaObject@@B)" in Funktion ""class QSlider
* __cdecl qobject_cast<class QSlider *>(class QObject *)" (??$qobject_cast@PAVQS
lider@@@@YAPAVQSlider@@PAVQObject@@@Z)".
demo_shared.lib(arthurwidgets.obj) : error LNK2019: Verweis auf nicht aufgelöste
s externes Symbol ""public: static struct QMetaObject const QTextBrowser::static
MetaObject" (?staticMetaObject@QTextBrowser@@2UQMetaObject@@B)" in Funktion ""cl
ass QTextBrowser * __cdecl qFindChild<class QTextBrowser *>(class QObject const
*,class QString const &)" (??$qFindChild@PAVQTextBrowser@@@@YAPAVQTextBrowser@@P
BVQObject@@ABVQString@@@Z)".
QtOpenGL.lib(qgl.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Sy
mbol ""void (__cdecl* qt_image_cleanup_hook_64)(__int64)" (?qt_image_cleanup_hoo
k_64@@3P6AX_J@ZA)" in Funktion ""public: virtual __thiscall QGLContext::~QGLCont
ext(void)" (??1QGLContext@@UAE@XZ)".
QtOpenGL.lib(qgl.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Sy
mbol ""void (__cdecl* qt_pixmap_cleanup_hook_64)(__int64)" (?qt_pixmap_cleanup_h
ook_64@@3P6AX_J@ZA)" in Funktion ""public: virtual __thiscall QGLContext::~QGLCo
ntext(void)" (??1QGLContext@@UAE@XZ)".
release\deform.exe : fatal error LNK1120: 8 nicht aufgelöste externe Verweise.
NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

D:\VS8\Qt\4.3.0>
Christian81
Beiträge: 7319
Registriert: 26. August 2004 14:11
Wohnort: Bremen
Kontaktdaten:

Beitrag von Christian81 »

Das QVistaHelper-Problem war in 4.3.0 vorhanden, aber eine Lösung weiß ich nicht (mehr)... wie gesagt 4.3.2 funktioniert auf alle Fälle. Probiere mal den vista-style bei configure.exe zu deaktivieren (-no-style-windowsvista oder so ähnlich). Die anderen Fehler sind Folgefehler da QtGui nicht korrekt erstellt wurde.
MfG Christian

'Funktioniert nicht' ist keine Fehlerbeschreibung
LQ
Beiträge: 46
Registriert: 3. Oktober 2007 13:16

Beitrag von LQ »

das hat sich erledigt.

auch das problem, dass er exe-dateien löscht, die er später nich brauch t hab ich durch schnelles reagieren gelöst.

aber jetzt zeigt er mir trotzdem noch ein fehler mit 10 nichtaufgelösten verweisen.

Code: Alles auswählen

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

        cd cn\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd jp\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd tw\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd kr\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd tools\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd assistant\lib\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release all

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

        cd assistant\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        link /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /NOLO
GO /INCREMENTAL:NO /MANIFESTFILE:"tmp\obj\release_static\assistant.intermediate.
manifest" /SUBSYSTEM:WINDOWS /OUT:..\..\bin\assistant.exe @C:\DOKUME~1\Ares\LOKA
LE~1\Temp\nm3CE.tmp
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""class
QObject * __cdecl qt_plugin_instance_qjpeg(void)" (?qt_plugin_instance_qjpeg@@YA
PAVQObject@@XZ)" in Funktion ""public: __thiscall StaticqjpegPluginInstance::Sta
ticqjpegPluginInstance(void)" (??0StaticqjpegPluginInstance@@QAE@XZ)".
helpdialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""
public: static struct QMetaObject const QListView::staticMetaObject" (?staticMet
aObject@QListView@@2UQMetaObject@@B)" in Funktion ""class QListView * __cdecl qo
bject_cast<class QListView *>(class QObject *)" (??$qobject_cast@PAVQListView@@@
@YAPAVQListView@@PAVQObject@@@Z)".
helpdialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""
public: static struct QMetaObject const QListWidget::staticMetaObject" (?staticM
etaObject@QListWidget@@2UQMetaObject@@B)" in Funktion ""class QListWidget * __cd
ecl qobject_cast<class QListWidget *>(class QObject *)" (??$qobject_cast@PAVQLis
tWidget@@@@YAPAVQListWidget@@PAVQObject@@@Z)".
helpdialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""
public: static struct QMetaObject const QTreeWidget::staticMetaObject" (?staticM
etaObject@QTreeWidget@@2UQMetaObject@@B)" in Funktion ""class QTreeWidget * __cd
ecl qobject_cast<class QTreeWidget *>(class QObject *)" (??$qobject_cast@PAVQTre
eWidget@@@@YAPAVQTreeWidget@@PAVQObject@@@Z)".
tabbedbrowser.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
 ""public: static struct QMetaObject const QStackedWidget::staticMetaObject" (?s
taticMetaObject@QStackedWidget@@2UQMetaObject@@B)" in Funktion ""class QStackedW
idget * __cdecl qFindChild<class QStackedWidget *>(class QObject const *,class Q
String const &)" (??$qFindChild@PAVQStackedWidget@@@@YAPAVQStackedWidget@@PBVQOb
ject@@ABVQString@@@Z)".
tabbedbrowser.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
 ""public: static struct QMetaObject const QTabBar::staticMetaObject" (?staticMe
taObject@QTabBar@@2UQMetaObject@@B)" in Funktion ""class QTabBar * __cdecl qFind
Child<class QTabBar *>(class QObject const *,class QString const &)" (??$qFindCh
ild@PAVQTabBar@@@@YAPAVQTabBar@@PBVQObject@@ABVQString@@@Z)".
moc_fontpanel.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: s
tatic struct QMetaObject const QGroupBox::staticMetaObject" (?staticMetaObject@Q
GroupBox@@2UQMetaObject@@B)".
moc_helpwindow.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QTextBrowser::staticMetaObject" (?staticMetaObje
ct@QTextBrowser@@2UQMetaObject@@B)".
moc_topicchooser.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public
: static struct QMetaObject const QDialog::staticMetaObject" (?staticMetaObject@
QDialog@@2UQMetaObject@@B)".
moc_fontsettingsdialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""
public: static struct QMetaObject const QDialog::staticMetaObject" (?staticMetaO
bject@QDialog@@2UQMetaObject@@B)".
moc_helpdialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaObject@QW
idget@@2UQMetaObject@@B)".
moc_tabbedbrowser.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""publi
c: static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaObject
@QWidget@@2UQMetaObject@@B)".
moc_helpdialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QValidator::staticMetaObject" (?staticMetaObject
@QValidator@@2UQMetaObject@@B)".
moc_mainwindow.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QMainWindow::staticMetaObject" (?staticMetaObjec
t@QMainWindow@@2UQMetaObject@@B)".
QtCore.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes extern
es Symbol "_compress2" in Funktion ""class QByteArray __cdecl qCompress(unsigned
 char const *,int,int)" (?qCompress@@YA?AVQByteArray@@PBEHH@Z)".
QtCore.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes extern
es Symbol "_uncompress" in Funktion ""class QByteArray __cdecl qUncompress(unsig
ned char const *,int)" (?qUncompress@@YA?AVQByteArray@@PBEH@Z)".
..\..\bin\assistant.exe : fatal error LNK1120: 14 nicht aufgelöste externe Verwe
ise.
NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
        cd examples\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd desktop\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd screenshot\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        link /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /NOLO
GO /DEBUG /MANIFESTFILE:"tmp\obj\debug_static\screenshot.intermediate.manifest"
/SUBSYSTEM:WINDOWS /OUT:debug\screenshot.exe @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm3
D1.tmp
moc_screenshot.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaObject@QW
idget@@2UQMetaObject@@B)".
QtCored.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes exter
nes Symbol "_compress2" in Funktion ""class QByteArray __cdecl qCompress(unsigne
d char const *,int,int)" (?qCompress@@YA?AVQByteArray@@PBEHH@Z)".
QtCored.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes exter
nes Symbol "_uncompress" in Funktion ""class QByteArray __cdecl qUncompress(unsi
gned char const *,int)" (?qUncompress@@YA?AVQByteArray@@PBEH@Z)".
debug\screenshot.exe : fatal error LNK1120: 3 nicht aufgelöste externe Verweise.

NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
        cd demos\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd shared\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        cd deform\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        link /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /NOLO
GO /INCREMENTAL:NO /MANIFESTFILE:"tmp\obj\release_static\deform.intermediate.man
ifest" /SUBSYSTEM:WINDOWS /OUT:release\deform.exe @C:\DOKUME~1\Ares\LOKALE~1\Tem
p\nm3D3.tmp
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public
: static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaObject@
QWidget@@2UQMetaObject@@B)" in Funktion ""class QList<class QWidget *> __cdecl q
FindChildren<class QWidget *>(class QObject const *,class QString const &)" (??$
qFindChildren@PAVQWidget@@@@YA?AV?$QList@PAVQWidget@@@@PBVQObject@@ABVQString@@@
Z)".
demo_shared.lib(moc_arthurwidgets.obj) : error LNK2001: Nicht aufgelöstes extern
es Symbol ""public: static struct QMetaObject const QWidget::staticMetaObject" (
?staticMetaObject@QWidget@@2UQMetaObject@@B)".
QtOpenGL.lib(moc_qgl.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""p
ublic: static struct QMetaObject const QWidget::staticMetaObject" (?staticMetaOb
ject@QWidget@@2UQMetaObject@@B)".
demo_shared.lib(arthurstyle.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol ""public: static struct QMetaObject const QPushButton::staticMet
aObject" (?staticMetaObject@QPushButton@@2UQMetaObject@@B)" in Funktion ""class
QPushButton const * __cdecl qobject_cast<class QPushButton const *>(class QObjec
t const *)" (??$qobject_cast@PBVQPushButton@@@@YAPBVQPushButton@@PBVQObject@@@Z)
".
demo_shared.lib(arthurstyle.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol ""public: static struct QMetaObject const QGroupBox::staticMetaO
bject" (?staticMetaObject@QGroupBox@@2UQMetaObject@@B)" in Funktion ""class QGro
upBox * __cdecl qobject_cast<class QGroupBox *>(class QObject *)" (??$qobject_ca
st@PAVQGroupBox@@@@YAPAVQGroupBox@@PAVQObject@@@Z)".
demo_shared.lib(arthurstyle.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol ""public: static struct QMetaObject const QRadioButton::staticMe
taObject" (?staticMetaObject@QRadioButton@@2UQMetaObject@@B)" in Funktion ""clas
s QRadioButton * __cdecl qobject_cast<class QRadioButton *>(class QObject *)" (?
?$qobject_cast@PAVQRadioButton@@@@YAPAVQRadioButton@@PAVQObject@@@Z)".
demo_shared.lib(arthurstyle.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol ""public: static struct QMetaObject const QSlider::staticMetaObj
ect" (?staticMetaObject@QSlider@@2UQMetaObject@@B)" in Funktion ""class QSlider
* __cdecl qobject_cast<class QSlider *>(class QObject *)" (??$qobject_cast@PAVQS
lider@@@@YAPAVQSlider@@PAVQObject@@@Z)".
demo_shared.lib(arthurwidgets.obj) : error LNK2019: Verweis auf nicht aufgelöste
s externes Symbol ""public: static struct QMetaObject const QTextBrowser::static
MetaObject" (?staticMetaObject@QTextBrowser@@2UQMetaObject@@B)" in Funktion ""cl
ass QTextBrowser * __cdecl qFindChild<class QTextBrowser *>(class QObject const
*,class QString const &)" (??$qFindChild@PAVQTextBrowser@@@@YAPAVQTextBrowser@@P
BVQObject@@ABVQString@@@Z)".
QtOpenGL.lib(qgl.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Sy
mbol ""void (__cdecl* qt_image_cleanup_hook_64)(__int64)" (?qt_image_cleanup_hoo
k_64@@3P6AX_J@ZA)" in Funktion ""public: virtual __thiscall QGLContext::~QGLCont
ext(void)" (??1QGLContext@@UAE@XZ)".
QtOpenGL.lib(qgl.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Sy
mbol ""void (__cdecl* qt_pixmap_cleanup_hook_64)(__int64)" (?qt_pixmap_cleanup_h
ook_64@@3P6AX_J@ZA)" in Funktion ""public: virtual __thiscall QGLContext::~QGLCo
ntext(void)" (??1QGLContext@@UAE@XZ)".
QtCore.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes extern
es Symbol "_compress2" in Funktion ""class QByteArray __cdecl qCompress(unsigned
 char const *,int,int)" (?qCompress@@YA?AVQByteArray@@PBEHH@Z)".
QtCore.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes extern
es Symbol "_uncompress" in Funktion ""class QByteArray __cdecl qUncompress(unsig
ned char const *,int)" (?qUncompress@@YA?AVQByteArray@@PBEH@Z)".
release\deform.exe : fatal error LNK1120: 10 nicht aufgelöste externe Verweise.
NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

D:\VS8\Qt\4.3.0>
gibt's vllt. ne möglichkeit, diesen fehler mit den nichtaufgelösten verweisen zu unterdrücken?
LQ
Beiträge: 46
Registriert: 3. Oktober 2007 13:16

Beitrag von LQ »

das hat sich (wodurch auch immer) auch erledigt. der nächste, sich nicht entfernen lassende fehler ist folgender:

Code: Alles auswählen

PAVQObject@@XZ)" in Funktion ""public: __thiscall StaticqjpegPluginInstance::Sta
ticqjpegPluginInstance(void)" (??0StaticqjpegPluginInstance@@QAE@XZ)".
QtGui.lib(qprintengine_pdf.obj) : error LNK2019: Verweis auf nicht aufgelöstes e
xternes Symbol "_compress" in Funktion ""private: int __thiscall QPdfEnginePriva
te::writeCompressed(char const *,int)" (?writeCompressed@QPdfEnginePrivate@@AAEH
PBDH@Z)".
QtGui.lib(png.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbo
l "_crc32" in Funktion "_png_reset_crc".
QtGui.lib(png.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbo
l "_inflateReset" in Funktion "_png_reset_zstream".
QtGui.lib(pngrutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_inf
lateReset".
QtGui.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes S
ymbol "_inflateInit_" in Funktion "_png_create_read_struct_2".
QtGui.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes S
ymbol "_inflate" in Funktion "_png_read_row".
QtGui.lib(pngrutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_inf
late".
QtGui.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes S
ymbol "_inflateEnd" in Funktion "_png_read_destroy".
QtGui.lib(pngwrite.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_deflate" in Funktion "_png_write_flush".
QtGui.lib(pngwutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_def
late".
QtGui.lib(pngwrite.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_deflateEnd" in Funktion "_png_write_destroy".
QtGui.lib(pngwutil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_deflateReset" in Funktion "_png_write_compressed_data_out".
QtGui.lib(pngwutil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_deflateInit2_" in Funktion "_png_write_IHDR".
QtCore.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes extern
es Symbol "_compress2" in Funktion ""class QByteArray __cdecl qCompress(unsigned
 char const *,int,int)" (?qCompress@@YA?AVQByteArray@@PBEHH@Z)".
QtCore.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes extern
es Symbol "_uncompress" in Funktion ""class QByteArray __cdecl qUncompress(unsig
ned char const *,int)" (?qUncompress@@YA?AVQByteArray@@PBEH@Z)".
..\..\bin\assistant.exe : fatal error LNK1120: 13 nicht aufgelöste externe Verwe
ise.
NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
        cd examples\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd desktop\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd screenshot\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Debug all

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

        D:\VS8\Qt\4.3.0\bin\moc.exe -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQ
T_EDITION=QT_EDITION_DESKTOP -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I".
.\..\..\include\QtCore" -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -
I"..\..\..\include\QtGui" -I"..\..\..\include" -I"qmake" -I"tools" -I"src" -I"..
\..\..\include\ActiveQt" -I"tmp\moc\debug_static" -I"." -I"..\..\..\mkspecs\win3
2-msvc2005" -D_MSC_VER=1400 -DWIN32 screenshot.h -o tmp\moc\debug_static\moc_scr
eenshot.cpp
        cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189
 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_G
UI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\include\QtCore" -I"..\..\..
\include\QtCore" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtGui" -I"..\..\
..\include" -I"qmake" -I"tools" -I"src" -I"..\..\..\include\ActiveQt" -I"tmp\moc
\debug_static" -I"." -I"..\..\..\mkspecs\win32-msvc2005" -Fotmp\obj\debug_static
\ @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5B8.tmp
main.cpp
screenshot.cpp
Code wird generiert...
        cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189
 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_G
UI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\include\QtCore" -I"..\..\..
\include\QtCore" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtGui" -I"..\..\
..\include" -I"qmake" -I"tools" -I"src" -I"..\..\..\include\ActiveQt" -I"tmp\moc
\debug_static" -I"." -I"..\..\..\mkspecs\win32-msvc2005" -Fotmp\obj\debug_static
\ @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5B9.tmp
moc_screenshot.cpp
        link /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /NOLO
GO /DEBUG /MANIFESTFILE:"tmp\obj\debug_static\screenshot.intermediate.manifest"
/SUBSYSTEM:WINDOWS /OUT:debug\screenshot.exe @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5
BA.tmp
QtGuid.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_inflateInit_" in Funktion "_png_create_read_struct_2".
QtGuid.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_inflate" in Funktion "_png_read_row".
QtGuid.lib(pngrutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_in
flate".
QtGuid.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_inflateEnd" in Funktion "_png_read_destroy".
QtGuid.lib(png.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symb
ol "_crc32" in Funktion "_png_reset_crc".
QtGuid.lib(png.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symb
ol "_inflateReset" in Funktion "_png_reset_zstream".
QtGuid.lib(pngrutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_in
flateReset".
QtGuid.lib(pngwrite.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
 Symbol "_deflate" in Funktion "_png_write_flush".
QtGuid.lib(pngwutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_de
flate".
QtGuid.lib(pngwrite.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
 Symbol "_deflateEnd" in Funktion "_png_write_destroy".
QtGuid.lib(pngwutil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
 Symbol "_deflateInit2_" in Funktion "_png_write_IHDR".
QtGuid.lib(pngwutil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
 Symbol "_deflateReset" in Funktion "_png_write_compressed_data_out".
QtGuid.lib(qprintengine_pdf.obj) : error LNK2019: Verweis auf nicht aufgelöstes
externes Symbol "_compress" in Funktion ""private: int __thiscall QPdfEnginePriv
ate::writeCompressed(char const *,int)" (?writeCompressed@QPdfEnginePrivate@@AAE
HPBDH@Z)".
QtCored.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes exter
nes Symbol "_compress2" in Funktion ""class QByteArray __cdecl qCompress(unsigne
d char const *,int,int)" (?qCompress@@YA?AVQByteArray@@PBEHH@Z)".
QtCored.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes exter
nes Symbol "_uncompress" in Funktion ""class QByteArray __cdecl qUncompress(unsi
gned char const *,int)" (?qUncompress@@YA?AVQByteArray@@PBEH@Z)".
debug\screenshot.exe : fatal error LNK1120: 12 nicht aufgelöste externe Verweise
.
NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
        cd demos\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        cd shared\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        D:\VS8\Qt\4.3.0\bin\moc.exe -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQ
T_EDITION=QT_EDITION_DESKTOP -DQT_OPENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -
DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\include\QtCore" -I"..\..\
include\QtCore" -I"..\..\include\QtGui" -I"..\..\include\QtGui" -I"..\..\include
\QtOpenGL" -I"..\..\include\QtOpenGL" -I"..\..\include" -I"qmake" -I"tools" -I"s
rc" -I"..\..\include\ActiveQt" -I"tmp\moc\release_static" -I"." -I"..\..\mkspecs
\win32-msvc2005" -D_MSC_VER=1400 -DWIN32 arthurwidgets.h -o tmp\moc\release_stat
ic\moc_arthurwidgets.cpp
        D:\VS8\Qt\4.3.0\bin\moc.exe -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQ
T_EDITION=QT_EDITION_DESKTOP -DQT_OPENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -
DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\include\QtCore" -I"..\..\
include\QtCore" -I"..\..\include\QtGui" -I"..\..\include\QtGui" -I"..\..\include
\QtOpenGL" -I"..\..\include\QtOpenGL" -I"..\..\include" -I"qmake" -I"tools" -I"s
rc" -I"..\..\include\ActiveQt" -I"tmp\moc\release_static" -I"." -I"..\..\mkspecs
\win32-msvc2005" -D_MSC_VER=1400 -DWIN32 hoverpoints.h -o tmp\moc\release_static
\moc_hoverpoints.cpp
        d:\VS8\Qt\4.3.0\bin\rcc.exe -name shared shared.qrc -o tmp\rcc\release_s
tatic\qrc_shared.cpp
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_OP
ENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREA
D_SUPPORT -I"..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\include\QtG
ui" -I"..\..\include\QtGui" -I"..\..\include\QtOpenGL" -I"..\..\include\QtOpenGL
" -I"..\..\include" -I"qmake" -I"tools" -I"src" -I"..\..\include\ActiveQt" -I"tm
p\moc\release_static" -I"." -I"..\..\mkspecs\win32-msvc2005" -Fotmp\obj\release_
static\ @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5BC.tmp
arthurstyle.cpp
arthurwidgets.cpp
hoverpoints.cpp
Code wird generiert...
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_OP
ENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREA
D_SUPPORT -I"..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\include\QtG
ui" -I"..\..\include\QtGui" -I"..\..\include\QtOpenGL" -I"..\..\include\QtOpenGL
" -I"..\..\include" -I"qmake" -I"tools" -I"src" -I"..\..\include\ActiveQt" -I"tm
p\moc\release_static" -I"." -I"..\..\mkspecs\win32-msvc2005" -Fotmp\obj\release_
static\ @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5BD.tmp
moc_arthurwidgets.cpp
moc_hoverpoints.cpp
Code wird generiert...
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_OP
ENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREA
D_SUPPORT -I"..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\include\QtG
ui" -I"..\..\include\QtGui" -I"..\..\include\QtOpenGL" -I"..\..\include\QtOpenGL
" -I"..\..\include" -I"qmake" -I"tools" -I"src" -I"..\..\include\ActiveQt" -I"tm
p\moc\release_static" -I"." -I"..\..\mkspecs\win32-msvc2005" -Fotmp\obj\release_
static\ @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5BE.tmp
qrc_shared.cpp
        lib /NOLOGO /OUT:release\demo_shared.lib @C:\DOKUME~1\Ares\LOKALE~1\Temp
\nm5BF.tmp
        cd deform\ && D:\VS8\Qt\4.3.0\nmake.exe -f Makefile

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

        D:\VS8\Qt\4.3.0\nmake.exe -f Makefile.Release

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

        D:\VS8\Qt\4.3.0\bin\moc.exe -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQ
T_EDITION=QT_EDITION_DESKTOP -DQT_OPENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -
DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\include\QtCore" -I"..\..\
include\QtCore" -I"..\..\include\QtGui" -I"..\..\include\QtGui" -I"..\..\include
\QtOpenGL" -I"..\..\include\QtOpenGL" -I"..\..\include" -I"qmake" -I"tools" -I"s
rc" -I"..\shared" -I"..\..\include\ActiveQt" -I"tmp\moc\release_static" -I"." -I
"..\..\mkspecs\win32-msvc2005" -D_MSC_VER=1400 -DWIN32 pathdeform.h -o tmp\moc\r
elease_static\moc_pathdeform.cpp
        d:\VS8\Qt\4.3.0\bin\rcc.exe -name deform deform.qrc -o tmp\rcc\release_s
tatic\qrc_deform.cpp
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_OP
ENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREA
D_SUPPORT -I"..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\include\QtG
ui" -I"..\..\include\QtGui" -I"..\..\include\QtOpenGL" -I"..\..\include\QtOpenGL
" -I"..\..\include" -I"qmake" -I"tools" -I"src" -I"..\shared" -I"..\..\include\A
ctiveQt" -I"tmp\moc\release_static" -I"." -I"..\..\mkspecs\win32-msvc2005" -Fotm
p\obj\release_static\ @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5C0.tmp
main.cpp
pathdeform.cpp
Code wird generiert...
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_OP
ENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREA
D_SUPPORT -I"..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\include\QtG
ui" -I"..\..\include\QtGui" -I"..\..\include\QtOpenGL" -I"..\..\include\QtOpenGL
" -I"..\..\include" -I"qmake" -I"tools" -I"src" -I"..\shared" -I"..\..\include\A
ctiveQt" -I"tmp\moc\release_static" -I"." -I"..\..\mkspecs\win32-msvc2005" -Fotm
p\obj\release_static\ @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5C1.tmp
moc_pathdeform.cpp
        cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQT_OP
ENGL_SUPPORT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREA
D_SUPPORT -I"..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\include\QtG
ui" -I"..\..\include\QtGui" -I"..\..\include\QtOpenGL" -I"..\..\include\QtOpenGL
" -I"..\..\include" -I"qmake" -I"tools" -I"src" -I"..\shared" -I"..\..\include\A
ctiveQt" -I"tmp\moc\release_static" -I"." -I"..\..\mkspecs\win32-msvc2005" -Fotm
p\obj\release_static\ @C:\DOKUME~1\Ares\LOKALE~1\Temp\nm5C2.tmp
qrc_deform.cpp
        link /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /LIBPATH:"d:\VS8\Qt\4.3.0\lib" /NOLO
GO /INCREMENTAL:NO /MANIFESTFILE:"tmp\obj\release_static\deform.intermediate.man
ifest" /SUBSYSTEM:WINDOWS /OUT:release\deform.exe @C:\DOKUME~1\Ares\LOKALE~1\Tem
p\nm5C3.tmp
QtGui.lib(qprintengine_pdf.obj) : error LNK2019: Verweis auf nicht aufgelöstes e
xternes Symbol "_compress" in Funktion ""private: int __thiscall QPdfEnginePriva
te::writeCompressed(char const *,int)" (?writeCompressed@QPdfEnginePrivate@@AAEH
PBDH@Z)".
QtGui.lib(png.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbo
l "_crc32" in Funktion "_png_reset_crc".
QtGui.lib(png.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbo
l "_inflateReset" in Funktion "_png_reset_zstream".
QtGui.lib(pngrutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_inf
lateReset".
QtGui.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes S
ymbol "_inflateInit_" in Funktion "_png_create_read_struct_2".
QtGui.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes S
ymbol "_inflate" in Funktion "_png_read_row".
QtGui.lib(pngrutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_inf
late".
QtGui.lib(pngread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes S
ymbol "_inflateEnd" in Funktion "_png_read_destroy".
QtGui.lib(pngwrite.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_deflate" in Funktion "_png_write_flush".
QtGui.lib(pngwutil.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_def
late".
QtGui.lib(pngwrite.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_deflateEnd" in Funktion "_png_write_destroy".
QtGui.lib(pngwutil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_deflateReset" in Funktion "_png_write_compressed_data_out".
QtGui.lib(pngwutil.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_deflateInit2_" in Funktion "_png_write_IHDR".
QtCore.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes extern
es Symbol "_compress2" in Funktion ""class QByteArray __cdecl qCompress(unsigned
 char const *,int,int)" (?qCompress@@YA?AVQByteArray@@PBEHH@Z)".
QtCore.lib(qbytearray.obj) : error LNK2019: Verweis auf nicht aufgelöstes extern
es Symbol "_uncompress" in Funktion ""class QByteArray __cdecl qUncompress(unsig
ned char const *,int)" (?qUncompress@@YA?AVQByteArray@@PBEH@Z)".
release\deform.exe : fatal error LNK1120: 12 nicht aufgelöste externe Verweise.
NMAKE : fatal error U1077: 'D:\VS8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'D:\VS8\Qt\4.3.0\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

D:\VS8\Qt\4.3.0>
falls es hilft, das ist der aufruf für configure.exe, den ich verwende:

Code: Alles auswählen

configure -static -qt-gif -qt-libpng -qt-libtiff -qt-libjpeg -qt-libmng -direct3d -no-style-windowsvista -I qmake -I tools -I src
Antworten