Fehler beim Erstellen
-
Hallo an allen,
ich habe folgendes Problem:
Beim erstellen von win32 Anwendung kommt es zu einem Konflikt zwischen den folgenden Bibliotheken: msvcprt.lib und libcpd.lib, und MSVCRT.lib und LIBCD.lib. Ich habe probiert die Bibliotheken auszukommentieren, aber das Ergebnis bleibt leider dasselbe. D.h. wieder dieselben Fehlermeldungen.
Anbei auch die kompleten Fehlermeldungen:
Erstellungsprotokoll--------------------Konfiguration: CadBreb2 - Win32 Debug--------------------
Befehlszeilen
Erstellen der temporären Datei "C:\DOKUME1\ADMINI1\LOKALE~1\Temp\RSP173F.tmp" mit Inhalten
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib idl.lib jtc.lib ob.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/CadBreb2.pdb" /debug /machine:I386 /nodefaultlib:"libcpd.lib LIBCD.lib" /out:"Debug/CadBreb2.exe" /pdbtype:sept
.\Debug\CadBrep.obj
.\Debug\CadConnection.obj
.\Debug\CadFeature.obj
.\Debug\CadFoundation.obj
.\Debug\CadGeometry.obj
.\Debug\CadGeometryExtens.obj
.\Debug\CadMain.obj
.\Debug\CadUtility.obj
]
Erstellen der Befehlzeile "link.exe @C:\DOKUME1\ADMINI1\LOKALE~1\Temp\RSP173F.tmp"
Ausgabefenster
Linker-Vorgang läuft...
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::ios_base::Init::Init(void)" (??0Init@ios_base@std@@QAE@XZ) bereits in libcpd.lib(iostream.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::ios_base::Init::~Init(void)" (??1Init@ios_base@std@@QAE@XZ) bereits in libcpd.lib(iostream.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::_Winit::_Winit(void)" (??0_Winit@std@@QAE@XZ) bereits in libcpd.lib(wiostrea.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::_Winit::~_Winit(void)" (??1_Winit@std@@QAE@XZ) bereits in libcpd.lib(wiostrea.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: bool __thiscall std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ) bereits in libcpd.lib(iostream.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __assert bereits in LIBCD.lib(assert.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _abort bereits in LIBCD.lib(abort.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf bereits in LIBCD.lib(sprintf.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc bereits in LIBCD.lib(dbgheap.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free bereits in LIBCD.lib(dbgheap.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _toupper bereits in LIBCD.lib(toupper.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _tolower bereits in LIBCD.lib(tolower.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr bereits in LIBCD.lib(strchr.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncmp bereits in LIBCD.lib(strncmp.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strstr bereits in LIBCD.lib(strstr.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove bereits in LIBCD.lib(memmove.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy bereits in LIBCD.lib(strncpy.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strtoul bereits in LIBCD.lib(strtol.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fflush bereits in LIBCD.lib(fflush.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fputc bereits in LIBCD.lib(fputc.obj) definiert
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fclose bereits in LIBCD.lib(fclose.obj) definiert
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void)" (??1?char_traits@D@std@@V?basic_string@DU?allocator@D@2@@std@@QBEPBDXZ) bereits in libcpd.lib(ios.obj) definiert
LINK : warning LNK4098: Standardbibliothek "MSVCRT" steht in Konflikt mit anderen Bibliotheken; /NODEFAULT:Bibliothek verwenden
CadConnection.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: void __thiscall CosPropertyService::Property::_OB_marshal(class OB::OutputStreamImpl *)const " (?_OB_marshal@Property@CosPropertyService@@QBEXPAVOutputStreamImpl@OB@@@Z)
CadConnection.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: static void __cdecl CosPropertyService::Property::_OB_unmarshal(struct CosPropertyService::Property &,class OB::InputStreamImpl *)" (?_OB_unmarshal@Property@CosPropertyService@@SAXAAU12@PAVInputStreamImpl@OB@@@Z)
CadConnection.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: struct CosPropertyService::Property & __thiscall CosPropertyService::Property::operator=(struct CosPropertyService::Property const &)" (??4Property@CosPropertyService@@QAEAAU01@ABU01@@Z)
LIBCD.lib(wincrt0.obj) : error LNK2001: Nichtaufgeloestes externes Symbol _WinMain@16
Debug/CadBreb2.exe : fatal error LNK1120: 4 unaufgeloeste externe Verweise
Fehler beim Ausführen von link.exe.Ergebnisse
CadBreb2.exe - 28 Fehler, 1 Warnung(en)Könnte mir jemand dabei helfen, die Konflikte zu besietigen?
Ich bedanke mich im voraus.
Gruss Gesch
-
Füge doch eine der sich störenden Bibliotheken zur "Bibliothek ignorieren"-Liste hinzu.
Gehört aber nach MFC/VC++.
-
Hallo aleph_o,
ich habe schon vorher probiert. es funktioniert leider nicht.
Gruss Gesch