查看单个帖子
旧 2009-05-06, 05:02 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】linker error with msvc80, singledoc exmple

linker error with msvc80, singledoc exmple
linker error with msvc80, singledoc exmple
hi all!
i tried to compile and link the "singledoc" example by opening the visual studio solution "allexamples.sln" in "...\projectfiles\win32\msvc8".
i get the following linker errors:
singledoc.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall oddbhostappservices::getsavedwgchecksum(void)const " (?getsavedwgchecksum@oddbhostappservices@@ube_nxz)
exhostappservices.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall oddbhostappservices::getsavedwgchecksum(void)const " (?getsavedwgchecksum@oddbhostappservices@@ube_nxz)
singledoc.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall oddbhostappservices::setsavedwgchecksum(bool)" (?setsavedwgchecksum@oddbhostappservices@@uaex_n@z )
exhostappservices.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall oddbhostappservices::setsavedwgchecksum(bool)" (?setsavedwgchecksum@oddbhostappservices@@uaex_n@z )
exundocontroller.obj : error lnk2001: unresolved external symbol "public: virtual class odrxobject * __thiscall oddbundocontrollerrecord::queryx(class odrxclass const *)const " (?queryx@oddbundocontrollerrecord@@ubepavodrxobjec t@@pbvodrxclass@@@z)
exundocontroller.obj : error lnk2001: unresolved external symbol "public: virtual class odrxclass * __thiscall oddbundocontrollerrecord::isa(void)const " (?isa@oddbundocontrollerrecord@@ubepavodrxclass@@x z)
exundocontroller.obj : error lnk2019: unresolved external symbol "protected: __thiscall oddbundocontrollerrecord:ddbundocontrollerrecord (void)" (??0oddbundocontrollerrecord@@iae@xz) referenced in function "public: __thiscall exundocontrollerrecord::exundocontrollerrecord(voi d)" (??0exundocontrollerrecord@@qae@xz)
.\debug/singledoc.exe : fatal error lnk1120: 5 unresolved externals
i cant't find those methods in any header.
any ideas?
thanx,
nothi
news on topic linker error
hi! (replying to my own topic)
nothing helped, so i just downloaded the dwgdirect - libs and examples again.
an guess what: it just works.
where there any changes to the files in the past week?
cheers,
nothi
hi,
since dwgdirect 2.1 was released the libs have not been changed.
most probably you mixed new and old libs in the previous time.
regards,
sergey vishnevetsky
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)