[gelöst] Qt 4.1.4 unter VS2005-express Compiler Fehler
Verfasst: 13. April 2007 19:51
Hallo,
jetzt wollte ich auch mal meine KDE-Mini-Progrämmchen unter Win32 compilieren. Dazu habe ich MS Visual Studio 2005 Express auf XP SP2 installiert.
Das PSDK, Qt-4.1.4-win-opensource, acs4qt414 , VS-SP1 sowie der Patch (VS80sp1-KB930198-X86-DEU von http://hotfix.xable.net/) ist eingepflegt.
Den Thread mit Shadows hervorragender Zusammenfassung (http://www.qtforum.de/forum/viewtopic.php?t=1259) habe ich penibelst befolgt, alle Pfade überall eingetragen und kriege jetzt auch keine Linker- oder Typfehler mehr in den Qt-Libs. Vielmehr scheint VS seine eigenen Libs nicht mehr richtig zu kennen. Die Anwendung ist ein einfachster Dialog (Source unter http://andy.krumnow.de/devel/cpp/seiten ... /index.php ). Unter Linux/KDevelop wird das schön gebaut, aber VSe meckert beim (neu) erstellen des projekts folgendermaßen rum (vielleicht kommts ja jemandem bekannt vor ...):
Hat jemand ne Idee zur Beseitigung dieser Fehler ?
Müssen die Pfade in einer bestimmten Reihenfolge eingetragen werden?
Bitte entschuldigt den länglichen Text. Das Problem kostet mich jetzt schon zwei Abende
Danke fürs lesen und drüber nachdenken
Andreas
PS. und natürlich hab ich schon das halbe netz durchsucht, aber den entscheidenden Hinweis nicht gefunden. Auch hier nicht. Bin dankbar für jeden Hinweis.
jetzt wollte ich auch mal meine KDE-Mini-Progrämmchen unter Win32 compilieren. Dazu habe ich MS Visual Studio 2005 Express auf XP SP2 installiert.
Das PSDK, Qt-4.1.4-win-opensource, acs4qt414 , VS-SP1 sowie der Patch (VS80sp1-KB930198-X86-DEU von http://hotfix.xable.net/) ist eingepflegt.
Den Thread mit Shadows hervorragender Zusammenfassung (http://www.qtforum.de/forum/viewtopic.php?t=1259) habe ich penibelst befolgt, alle Pfade überall eingetragen und kriege jetzt auch keine Linker- oder Typfehler mehr in den Qt-Libs. Vielmehr scheint VS seine eigenen Libs nicht mehr richtig zu kennen. Die Anwendung ist ein einfachster Dialog (Source unter http://andy.krumnow.de/devel/cpp/seiten ... /index.php ). Unter Linux/KDevelop wird das schön gebaut, aber VSe meckert beim (neu) erstellen des projekts folgendermaßen rum (vielleicht kommts ja jemandem bekannt vor ...):
Code: Alles auswählen
1>------ Erstellen gestartet: Projekt: seitenspiegel, Konfiguration: Debug Win32 ------
1>Kompilieren...
1>cl : Command line warning D9007 : '/Gm' requires '/Zi'; option ignored
1>cl : Command line warning D9002 : ignoring unknown option '/ZI'
1>seitenspiegel.cpp
1>C:\MS-VisualStudio_8\VC\include\string.h(142) : warning C4616: #pragma warning : warning number '6059' out of range, must be between '4001' and '4999'
[ usw. .... pragma warnings ..... ]
1>C:\MS-VisualStudio_8\VC\include\xutility(911) : error C2275: 'std::_Iterator_base' : illegal use of this type as an expression
1> C:\MS-VisualStudio_8\VC\include\xutility(117) : see declaration of 'std::_Iterator_base'
1> C:\MS-VisualStudio_8\VC\include\xutility(912) : see reference to class template instantiation 'std::_Checked_iterator_category<_Iter>' being compiled
1>C:\MS-VisualStudio_8\VC\include\xutility(911) : error C3861: '__is_base_of': identifier not found
1>C:\MS-VisualStudio_8\VC\include\xutility(957) : error C2275: 'std::_Iterator_base' : illegal use of this type as an expression
1> C:\MS-VisualStudio_8\VC\include\xutility(117) : see declaration of 'std::_Iterator_base'
1> C:\MS-VisualStudio_8\VC\include\xutility(962) : see reference to class template instantiation 'std::_Checked_iterator_base_helper<_Iter>' being compiled
1>C:\MS-VisualStudio_8\VC\include\xutility(957) : error C3861: '__is_base_of': identifier not found
[ ... pragma warnings ... ]
1>C:\MS-VisualStudio_8\VC\include\ostream(646) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>moc_seitenspiegel.cpp
[ ... pragma warnings ... ]
1>C:\MS-VisualStudio_8\VC\include\xutility(911) : error C2275: 'std::_Iterator_base' : illegal use of this type as an expression
1> C:\MS-VisualStudio_8\VC\include\xutility(117) : see declaration of 'std::_Iterator_base'
1> C:\MS-VisualStudio_8\VC\include\xutility(912) : see reference to class template instantiation 'std::_Checked_iterator_category<_Iter>' being compiled
1>C:\MS-VisualStudio_8\VC\include\xutility(911) : error C3861: '__is_base_of': identifier not found
1>C:\MS-VisualStudio_8\VC\include\xutility(957) : error C2275: 'std::_Iterator_base' : illegal use of this type as an expression
1> C:\MS-VisualStudio_8\VC\include\xutility(117) : see declaration of 'std::_Iterator_base'
1> C:\MS-VisualStudio_8\VC\include\xutility(962) : see reference to class template instantiation 'std::_Checked_iterator_base_helper<_Iter>' being compiled
1>C:\MS-VisualStudio_8\VC\include\xutility(957) : error C3861: '__is_base_of': identifier not found
[ ... pragma warnings ... ]
1>C:\MS-VisualStudio_8\VC\include\ostream(646) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>main.cpp
[ ... pragma warnings ... ]
1>C:\MS-VisualStudio_8\VC\include\xutility(911) : error C2275: 'std::_Iterator_base' : illegal use of this type as an expression
1> C:\MS-VisualStudio_8\VC\include\xutility(117) : see declaration of 'std::_Iterator_base'
1> C:\MS-VisualStudio_8\VC\include\xutility(912) : see reference to class template instantiation 'std::_Checked_iterator_category<_Iter>' being compiled
1>C:\MS-VisualStudio_8\VC\include\xutility(911) : error C3861: '__is_base_of': identifier not found
1>C:\MS-VisualStudio_8\VC\include\xutility(957) : error C2275: 'std::_Iterator_base' : illegal use of this type as an expression
1> C:\MS-VisualStudio_8\VC\include\xutility(117) : see declaration of 'std::_Iterator_base'
1> C:\MS-VisualStudio_8\VC\include\xutility(962) : see reference to class template instantiation 'std::_Checked_iterator_base_helper<_Iter>' being compiled
1>C:\MS-VisualStudio_8\VC\include\xutility(957) : error C3861: '__is_base_of': identifier not found
1>C:\MS-VisualStudio_8\VC\include\xutility(1615) : warning C4616: #pragma warning : warning number '6295' out of range, must be between '4001' and '4999'
1>C:\MS-VisualStudio_8\VC\include\xlocale(639) : warning C4616: #pragma warning : warning number '6011' out of range, must be between '4001' and '4999'
1>C:\MS-VisualStudio_8\VC\include\ostream(646) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>Generating Code...
1>Das Buildprotokoll wurde unter "file://c:\prog\pj\seitenspiegel\debug\BuildLog.htm" gespeichert.
1>seitenspiegel - 15 Fehler, 26 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 bersprungen ==========
Müssen die Pfade in einer bestimmten Reihenfolge eingetragen werden?
Bitte entschuldigt den länglichen Text. Das Problem kostet mich jetzt schon zwei Abende
Danke fürs lesen und drüber nachdenken
Andreas
PS. und natürlich hab ich schon das halbe netz durchsucht, aber den entscheidenden Hinweis nicht gefunden. Auch hier nicht. Bin dankbar für jeden Hinweis.