Herzlich Willkommen, lieber Gast!
  Sie befinden sich hier:

  Forum » VC++ / MFC » Linkerfehler beim Einbinden einer Lib

Forum | Hilfe | Team | Links | Impressum | > Suche < | Mitglieder | Registrieren | Einloggen
  Quicklinks: MSDN-Online || STL || clib Reference Grundlagen || Literatur || E-Books || Zubehör || > F.A.Q. < || Downloads   

Autor Thread - Seiten: > 1 <
000
12.09.2006, 08:05 Uhr
Tommyknocker1980



Hallo,

beim Einbinden einer Lib unter Visual Studio 2005 erhalte ich für ein Projekt für Pocket PC 2003 jede Menge Fehlermeldungen des Linkers. Diese Lib habe ich bisher jedoch problemlos unter eVC++ 4.0 verwenden können.

Auszug aus den Linkermeldungen:

atlsd.lib(atltypes.obj) : error LNK2005: "public: __cdecl CSize::CSize(void)" (??0CSize@@QAA@XZ) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: __cdecl CPoint::CPoint(void)" (??atlsd.lib(atltypes.obj) : error LNK2005: "public: class CSize __cdecl CPoint::operator-(struct tagPOINT)const " (??GCPoint@@QBA?AVCSize@@UtagPOINT@@@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: __cdecl CRect::CRect(void)" (??0CRect@@QAA@XZ) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: __cdecl CRect::operator struct tagRECT *(void)" (??BCRect@@QAAPAUtagRECT@@XZ) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: int __cdecl CRect::IsRectEmpty(void)const " (?IsRectEmpty@CRect@@QBAHXZ) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: int __cdecl CRect::IsRectNull(void)const " (?IsRectNull@CRect@@QBAHXZ) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: int __cdecl CRect::PtInRect(struct tagPOINT)const " (?PtInRect@CRect@@QBAHUtagPOINT@@@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: void __cdecl CRect::SetRect(int,int,int,int)" (?SetRect@CRect@@QAAXHHHH@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: void __cdecl CRect::SetRectEmpty(void)" (?SetRectEmpty@CRect@@QAAXXZ) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: void __cdecl CRect::CopyRect(struct tagRECT const *)" (?CopyRect@CRect@@QAAXPBUtagRECT@@@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: int __cdecl CRect::EqualRect(struct tagRECT const *)const " (?EqualRect@CRect@@QBAHPBUtagRECT@@@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: void __cdecl CRect::InflateRect(int,int)" (?InflateRect@CRect@@QAAXHH@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: void __cdecl CRect::InflateRect(struct tagSIZE)" (?InflateRect@CRect@@QAAXUtagSIZE@@@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: void __cdecl CRect::OffsetRect(int,int)" (?OffsetRect@CRect@@QAAXHH@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: int __cdecl CRect::IntersectRect(struct tagRECT const *,struct tagRECT const *)" (?IntersectRect@CRect@@QAAHPBUtagRECT@@0@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: void __cdecl CRect::operator=(struct tagRECT const &)" (??4CRect@@QAAXABUtagRECT@@@Z) already defined in MFCCE300d.lib(mfcce300d.dll)
atlsd.lib(atltypes.obj) : error LNK2005: "public: void __cdecl CRect::NormalizeRect(void)" (?NormalizeRect@CRect@@QAAXXZ) already defined in MFCCE300d.lib(mfcce300d.dll)
uafxcwd.lib(winmain.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3
uafxcwd.lib(filest.obj) : error LNK2019: unresolved external symbol __CxxFrameHandler3 referenced in function "public: int __cdecl CFile::GetStatus(struct CFileStatus &)const " (?GetStatus@CFile@@QBAHAAUCFileStatus@@@Z)
LicmanTestDlg.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl CWnd::CreateEx(unsigned long,unsigned short const *,unsigned short const *,unsigned long,struct tagRECT const &,class CWnd *,unsigned int,void *)" (?CreateEx@CWnd@@UAAHKPBG0KABUtagRECT@@PAV1@IPAX@Z)
LicmanTestDlg.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl CWnd::CreateEx(unsigned long,unsigned short const *,unsigned short const *,unsigned long,int,int,int,int,struct HWND__ *,struct HMENU__ *,void *)" (?CreateEx@CWnd@@UAAHKPBG0KHHHHPAUHWND__@@PAUHMENU__@@PAX@Z)
LicmanTestDlg.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl CDialog::Create(unsigned short const *,class CWnd *)" (?Create@CDialog@@UAAHPBGPAVCWnd@@@Z)
uafxcwd.lib(appmodul.obj) : error LNK2001: unresolved external symbol _CrtDbgReportW
uafxcwd.lib(oledisp2.obj) : error LNK2019: unresolved external symbol _CrtDbgReportW referenced in function "public: int __cdecl COleDispatchDriver::CreateDispatch(struct _GUID const &,class COleException *)" (?CreateDispatch@COleDispatchDriver@@QAAHABU_GUID@@PAVCOleException@@@Z)
uafxcwd.lib(docdl.obj) : error LNK2019: unresolved external symbol memcpy_s referenced in function "public: __cdecl ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsOS<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsOS<wchar_t> > >(wchar_t const *)" (??0?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsOS@_W@ATL@@@@@ATL@@QAA@PB_W@Z)
uafxcwd.lib(appterm.obj) : error LNK2019: unresolved external symbol memmove_s referenced in function "public: class ATL::CSimpleStringT<wchar_t,0> & __cdecl ATL::CSimpleStringT<wchar_t,0>::operator=(class ATL::CSimpleStringT<wchar_t,0> const &)" (??4?$CSimpleStringT@_W$0A@@ATL@@QAAAAV01@ABV01@@Z)
uafxcwd.lib(filest.obj) : error LNK2001: unresolved external symbol memcpy_s
uafxcwd.lib(appcore.obj) : error LNK2019: unresolved external symbol wcscpy_s referenced in function "void __cdecl ATL::Checked::tcscpy_s(wchar_t *,unsigned int,wchar_t const *)" (?tcscpy_s@Checked@ATL@@YAXPA_WIPB_W@Z)
uafxcwd.lib(dlgfile.obj) : error LNK2019: unresolved external symbol _wsplitpath_s referenced in function "void __cdecl ATL::Checked::tsplitpath_s(wchar_t const *,wchar_t *,unsigned int,wchar_t *,unsigned int,wchar_t *,unsigned int,wchar_t *,unsigned int)" (?tsplitpath_s@Checked@ATL@@YAXPB_WPA_WI1I1I1I@Z)
uafxcwd.lib(dlgfile.obj) : error LNK2019: unresolved external symbol _wmakepath_s referenced in function "void __cdecl ATL::Checked::tmakepath_s(wchar_t *,unsigned int,wchar_t const *,wchar_t const *,wchar_t const *,wchar_t const *)" (?tmakepath_s@Checked@ATL@@YAXPA_WIPB_W111@Z)
uafxcwd.lib(doccore.obj) : error LNK2019: unresolved external symbol wcscat_s referenced in function "void __cdecl ATL::Checked::wcscat_s(wchar_t *,unsigned int,wchar_t const *)" (?wcscat_s@Checked@ATL@@YAXPA_WIPB_W@Z)
uafxcwd.lib(doccore.obj) : error LNK2019: unresolved external symbol _itow_s referenced in function "void __cdecl ATL::Checked::itot_s(int,wchar_t *,unsigned int,int)" (?itot_s@Checked@ATL@@YAXHPA_WIH@Z)
atlsd.lib(ATLComTime.obj) : error LNK2019: unresolved external symbol _time64 referenced in function "public: static class ATL::COleDateTime __cdecl ATL::COleDateTime::GetCurrentTime(void)" (?GetCurrentTime@COleDateTime@ATL@@SA?AV12@XZ)
atlsd.lib(atltime.obj) : error LNK2001: unresolved external symbol _time64
atlsd.lib(atltime.obj) : error LNK2019: unresolved external symbol _mktime64 referenced in function "public: __cdecl ATL::CTime::CTime(int,int,int,int,int,int,int)" (??0CTime@ATL@@QAA@HHHHHHH@Z)
atlsd.lib(atltime.obj) : error LNK2019: unresolved external symbol _gmtime64_s referenced in function "public: struct tm * __cdecl ATL::CTime::GetGmtTm(struct tm *)const " (?GetGmtTm@CTime@ATL@@QBAPAUtm@@PAU3@@Z)
atlsd.lib(atltime.obj) : error LNK2019: unresolved external symbol _localtime64_s referenced in function "public: struct tm * __cdecl ATL::CTime::GetLocalTm(struct tm *)const " (?GetLocalTm@CTime@ATL@@QBAPAUtm@@PAU3@@Z)


Kann mir jemand weiterhelfen?
Habe ich vielleicht nur eine falsche Projekteinstellung?

Vielen Dank für Antworten.
Gruß,
Tom
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
001
12.09.2006, 08:57 Uhr
FloSoft
Medialer Over-Flow
(Administrator)


Hi,
schätze mal das einer der beiden Projekte die Libraries dynamisch gebunden hat, und deines statisch oder andersrum
--
class God : public ChuckNorris { };
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
Seiten: > 1 <     [ VC++ / MFC ]  


ThWBoard 2.73 FloSoft-Edition
© by Paul Baecher & Felix Gonschorek (www.thwboard.de)

Anpassungen des Forums
© by Flo-Soft (www.flo-soft.de)

Sie sind Besucher: