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

linker errors using oda 2.1.0
linker errors using oda 2.1.0
please help!
i am trying to compile a new version of our software using oda 2.1.0. i did manage to get it compiled with a previous version of oda 2, but now i am stuck. odamfcappdll compiles correctly, but my project does not. i get the following errors :
xhostappservices.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall oddbhostappservices::setsavedwgchecksum(bool)" (?setsavedwgchecksum@oddbhostappservices@@uaex_n@z )
genes1s.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 bool __thiscall oddbhostappservices::getsavedwgchecksum(void)const " (?getsavedwgchecksum@oddbhostappservices@@ube_nxz)
genes1s.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall oddbhostappservices::getsavedwgchecksum(void)const " (?getsavedwgchecksum@oddbhostappservices@@ube_nxz)
exundocontroller.obj : error lnk2001: unresolved external symbol "public: virtual class odrxclass * __thiscall oddbundocontrollerrecord::isa(void)const " (?isa@oddbundocontrollerrecord@@ubepavodrxclass@@x 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 "__declspec(dllimport) protected: __thiscall oddbundocontrollerrecord:ddbundocontrollerrecord (void)" (__imp_??0oddbundocontrollerrecord@@iae@xz)
exundocontroller.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall oddbundocontrollerrecord::~oddbundocontrollerrecor d(void)" (__imp_??1oddbundocontrollerrecord@@uae@xz)
any assistance will be greatly appreciated.
anton heymann
cad essence ltd.
doh!
it does help if you actually link with the debugging version of libraries! i downloaded the debug libraries, but never unpacked them into the correct folder structure!
i will go and hide away now.
anton heymann
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)