Hi,
hab mir heute mal Smartwin++ heruntergeladen und bekomm irgendwie die Installation nicht hin. Kompilieren lässt sich das Zeug nicht, da der Compiler immer meint, er würde die includes nicht finden, obwohl ich unter "Extras->Optionen->VC++-Verzeichnisse" den Pfad eingetragen habe.
Was mach ich nur falsch?
Edit:
Habs hinbekommen, beim Kompilieren von Smartwin sagt der Compiler mir aber immer:
1>------ Erstellen gestartet: Projekt: SmartWin, Konfiguration: Release Win32 ------
1>Kompilieren...
1>cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in einer der nächsten Versionen entfernt.
1>trackable.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>slot.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>signal_base.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>named_slot_map.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>connection.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>WidgetSplitter.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Widget.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>LibraryLoader.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>ImageList.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Icon.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Font.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>DestructionClass.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>CanvasClasses.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Bitmap.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Application.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Code wird generiert...
1>Bibliothek wird erstellt...
1>Das Buildprotokoll wurde unter "file://c:\smartwin\Release\BuildLog.htm" gespeichert.
1>SmartWin - 0 Fehler, 1 Warnung(en)
========== Erstellen: 1 erfolgreich, Fehler bei 0, 0 aktuell, 0 übersprungen ==========
Nun,
hab jetzt mal ein Beispiel ausgeführt und da wird folgendes ausgespuckt:
1>------ Erstellen gestartet: Projekt: sakaskas+, Konfiguration: Debug Win32 ------
1>Kompilieren...
1>main.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Verknüpfen...
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) ist bereits in SmartWin.lib(Application.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) ist bereits in SmartWin.lib(Application.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) ist bereits in SmartWin.lib(Application.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) ist bereits in SmartWin.lib(Application.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator=(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z) ist bereits in SmartWin.lib(Application.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class std::locale::facet * __thiscall std::locale::facet::_Decref(void)" (?_Decref@facet@locale@std@@QAEPAV123@XZ) ist bereits in SmartWin.lib(Application.obj) definiert.
1>libcpmt.lib(ios.obj) : error LNK2005: "public: static void __cdecl std::ios_base::_Addstd(class std::ios_base *)" (?_Addstd@ios_base@std@@SAXPAV12@@Z) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>libcpmt.lib(ios.obj) : error LNK2005: "private: static void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base *)" (?_Ios_base_dtor@ios_base@std@@CAXPAV12@@Z) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>libcpmt.lib(locale0.obj) : error LNK2005: "void __cdecl _AtModuleExit(void (__cdecl*)(void))" (?_AtModuleExit@@YAXP6AXXZ@Z) ist bereits in msvcprtd.lib(locale0_implib.obj) definiert.
1>libcpmt.lib(locale0.obj) : error LNK2005: "private: static class std::locale::_Locimp * __cdecl std::locale::_Getgloballocale(void)" (?_Getgloballocale@locale@std@@CAPAV_Locimp@12@XZ) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>libcpmt.lib(locale0.obj) : error LNK2005: __Fac_tidy ist bereits in msvcprtd.lib(locale0_implib.obj) definiert.
1>libcpmt.lib(locale0.obj) : error LNK2005: "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) ist bereits in msvcprtd.lib(locale0_implib.obj) definiert.
1>libcpmt.lib(locale0.obj) : error LNK2005: "public: static void __cdecl std::_Locinfo::_Locinfo_dtor(class std::_Locinfo *)" (?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>libcpmt.lib(locale0.obj) : error LNK2005: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator=(char const *)" (??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@PBD@Z) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>libcpmt.lib(locale0.obj) : error LNK2005: "private: static class std::locale::_Locimp * __cdecl std::locale::_Init(void)" (?_Init@locale@std@@CAPAV_Locimp@12@XZ) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>libcpmt.lib(locale0.obj) : error LNK2005: "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) ist bereits in msvcprtd.lib(MSVCP90D.dll) definiert.
1>LIBCMT.lib(invarg.obj) : error LNK2005: __invalid_parameter ist bereits in MSVCRTD.lib(MSVCR90D.dll) definiert.
1>LIBCMT.lib(lconv.obj) : error LNK2005: _localeconv ist bereits in MSVCRTD.lib(MSVCR90D.dll) definiert.
1>LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer ist bereits in MSVCRTD.lib(MSVCR90D.dll) definiert.
1>LIBCMT.lib(tidtable.obj) : error LNK2005: __decode_pointer ist bereits in MSVCRTD.lib(MSVCR90D.dll) definiert.
1>LIBCMT.lib(hooks.obj) : error LNK2005: "void __cdecl terminate(void)" (?terminate@@YAXXZ) ist bereits in MSVCRTD.lib(MSVCR90D.dll) definiert.
1>LIBCMT.lib(mlock.obj) : error LNK2005: __unlock ist bereits in MSVCRTD.lib(MSVCR90D.dll) definiert.
1>LIBCMT.lib(mlock.obj) : error LNK2005: __lock ist bereits in MSVCRTD.lib(MSVCR90D.dll) definiert.
1>LINK : warning LNK4031: Kein Subsystem angegeben; CONSOLE wird angenommen.
1>LINK : warning LNK4098: Standardbibliothek "MSVCRTD" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
1>LIBCMT.lib(crt0.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_main" in Funktion "___tmainCRTStartup".
1>Eigene Dateien\Visual Studio 2008\Projects\sakaskas+\Debug\sakaskas+.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
1>Das Buildprotokoll wurde unter "Projects\sakaskas+\Debug\BuildLog.htm" gespeichert.
1>sakaskas+ - 27 Fehler, 2 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
Also ich habs mir mal runtergeladen und konnte es ohne große Probleme mit
Visual Studio 2008 Professional kompilieren. Das einzige was ich anpassen musste
war die ergänzende Include Ordner Angabe. Das gleiche bei den Tests, Includeordner
angepasst und gut is.
Keine Ahnung was du da falsch machst...
Bin nur noch sehr selten hier, bitte nur noch per PN kontaktieren