几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】linker errors using oda 2.1.0 (http://www.dimcax.com/hust/showthread.php?t=17080)

yang686526 2009-05-06 05:03 PM

【转帖】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::oddbundocontrollerrecord (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


所有的时间均为北京时间。 现在的时间是 12:10 AM.