高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】2005 link error
2005 link error..
2005 link error..
hi..
help!..i'm getting the following errors when i attempt to link against the vc8md libraries in vs2005 (non unicode)
my link settings are as follows:
/o2 /ob1 /i ".\include" /d "ndebug" /d "win32" /d "_windows" /d "_usrdll" /d "dwgf_exports" /d "_crt_secure_no_deprecate" /d "_vc80_upgrade=0x0600" /d "_windll" /d "_afxdll" /d "_mbcs" /gf /fd /ehsc /md /gy /zc:wchar_t- /fp".\release/dwgfiledir.pch" /fo".\release/" /fd".\release/" /w3 /nologo /c /errorreportrompt
1>linking...
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddb2dpolyline::desc(void)" (?desc@oddb2dpolyline@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddb2dvertex::desc(void)" (?desc@oddb2dvertex@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddb3dpolyline::desc(void)" (?desc@oddb3dpolyline@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddb3dpolylinevertex::desc(void)" (?desc@oddb3dpolylinevertex@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddb3dsolid::desc(void)" (?desc@oddb3dsolid@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbarc::desc(void)" (?desc@oddbarc@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbattribute::desc(void)" (?desc@oddbattribute@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbattributedefinition::desc(void)" (?desc@oddbattributedefinition@@sapavodrxclass@@xz ) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbblockreference::desc(void)" (?desc@oddbblockreference@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbblocktable::desc(void)" (?desc@oddbblocktable@@sapavodrxclass@@xz) already defined in dbexport.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbblocktablerecord::desc(void)" (?desc@oddbblocktablerecord@@sapavodrxclass@@xz) already defined in dbexport.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbcircle::desc(void)" (?desc@oddbcircle@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbellipse::desc(void)" (?desc@oddbellipse@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses1.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbentity::desc(void)" (?desc@oddbentity@@sapavodrxclass@@xz) already defined in dbexport.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbface::desc(void)" (?desc@oddbface@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbfcf::desc(void)" (?desc@oddbfcf@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbhatch::desc(void)" (?desc@oddbhatch@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddblayertable::desc(void)" (?desc@oddblayertable@@sapavodrxclass@@xz) already defined in dwgfiledirect.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddblayertablerecord::desc(void)" (?desc@oddblayertablerecord@@sapavodrxclass@@xz) already defined in dwgfiledirect.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbline::desc(void)" (?desc@oddbline@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbmline::desc(void)" (?desc@oddbmline@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbmtext::desc(void)" (?desc@oddbmtext@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbole2frame::desc(void)" (?desc@oddbole2frame@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbpoint::desc(void)" (?desc@oddbpoint@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses2.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbpolyfacemesh::desc(void)" (?desc@oddbpolyfacemesh@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(hatchpatternmanager.obj) : error lnk2005: "public: static class odrxclass * __cdecl odhatchpatternmanager::desc(void)" (?desc@odhatchpatternmanager@@sapavodrxclass@@xz) already defined in exhostappservices.obj
1>dd_vc8md_db.lib(dbclasses3.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbpolygonmesh::desc(void)" (?desc@oddbpolygonmesh@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses3.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbpolyline::desc(void)" (?desc@oddbpolyline@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses3.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbregion::desc(void)" (?desc@oddbregion@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses3.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbsolid::desc(void)" (?desc@oddbsolid@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses3.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbspline::desc(void)" (?desc@oddbspline@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses3.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbtext::desc(void)" (?desc@oddbtext@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbclasses3.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbtrace::desc(void)" (?desc@oddbtrace@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbminsertblock.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbminsertblock::desc(void)" (?desc@oddbminsertblock@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbproxyentity.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbproxyentity::desc(void)" (?desc@oddbproxyentity@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbarcalignedtext.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbarcalignedtext::desc(void)" (?desc@oddbarcalignedtext@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_db.lib(dbrasterimage.obj) : error lnk2005: "public: static class odrxclass * __cdecl oddbrasterimage::desc(void)" (?desc@oddbrasterimage@@sapavodrxclass@@xz) already defined in exprotocolextension.obj
1>dd_vc8md_root.lib(rxinit.obj) : error lnk2005: "public: static class odrxclass * __cdecl odrxiterator::desc(void)" (?desc@odrxiterator@@sapavodrxclass@@xz) already defined in exundocontroller.obj
1>dd_vc8md_root.lib(girasterimage.obj) : error lnk2005: "public: static class odrxclass * __cdecl odgirasterimage::desc(void)" (?desc@odgirasterimage@@sapavodrxclass@@xz) already defined in exgirasterimage.obj
1>dd_vc8md_root.lib(odstreambuf.obj) : error lnk2005: "public: static class odrxclass * __cdecl odstreambuf::desc(void)" (?desc@odstreambuf@@sapavodrxclass@@xz) already defined in exsystemservices.obj
1>.\dwgfiledir.def(4) : warning lnk4017: description statement not supported for the target platform; ignored
1> creating library ../lib/release/dwgfiledir.lib and object ../lib/release/dwgfiledir.exp
1>link : warning lnk4098: defaultlib 'msvcrtd' conflicts with use of other libs; use /nodefaultlib:library
1>exprotocolextension.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odidfiler::seek(long,enum oddb::filerseektype)" (?seek@odidfiler@@uaexjw4filerseektype@oddb@@@z)
1>exprotocolextension.obj : error lnk2001: unresolved external symbol "public: virtual unsigned long __thiscall odidfiler::tell(void)const " (?tell@odidfiler@@ubekxz)
1>exundocontroller.obj : error lnk2001: unresolved external symbol "public: virtual unsigned long __thiscall odflatmemstream::tell(void)" (?tell@odflatmemstream@@uaekxz)
1>exundocontroller.obj : error lnk2001: unresolved external symbol "public: virtual unsigned long __thiscall odflatmemstream::length(void)" (?length@odflatmemstream@@uaekxz)
1>exundocontroller.obj : error lnk2001: unresolved external symbol "public: virtual unsigned long __thiscall odflatmemstream::seek(long,enum oddb::filerseektype)" (?seek@odflatmemstream@@uaekjw4filerseektype@oddb@ @@z)
1>exundocontroller.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odflatmemstream::copydatato(class odstreambuf *,unsigned long,unsigned long)" (?copydatato@odflatmemstream@@uaexpavodstreambuf@@ kk@z)
1>exundocontroller.obj : error lnk2001: unresolved external symbol "protected: virtual void __thiscall odflatmemstream::append(unsigned long)" (?append@odflatmemstream@@maexk@z)
1>giworlddrawdumper.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgiworldgeometrydumper::text(class odgepoint3d const &,class odgevector3d const &,class odgevector3d const &,double,double,double,class odstring const &)" (?text@odgiworldgeometrydumper@@uaexabvodgepoint3d @@abvodgevector3d@@1nnnabvodstring@@@z)
1>odfilebuf.obj : error lnk2001: unresolved external symbol "public: virtual unsigned long __thiscall odstreambuf::tell(void)" (?tell@odstreambuf@@uaekxz)
1>odfilebuf.obj : error lnk2001: unresolved external symbol "public: virtual unsigned long __thiscall odstreambuf::length(void)" (?length@odstreambuf@@uaekxz)
1>odfilebuf.obj : error lnk2001: unresolved external symbol "public: virtual unsigned long __thiscall odstreambuf::seek(long,enum oddb::filerseektype)" (?seek@odstreambuf@@uaekjw4filerseektype@oddb@@@z)
1>odfilebuf.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odstreambuf::copydatato(class odstreambuf *,unsigned long,unsigned long)" (?copydatato@odstreambuf@@uaexpav1@kk@z)
1>../lib/release/dwgfiledir.dll : fatal error lnk1120: 12 unresolved externals
if you use dd dll version you need to define _toolkit_in_dll_ symbol in your project.
sergey slezkin
|