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