几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】adt static link settings (http://www.dimcax.com/hust/showthread.php?t=15068)

yang686526 2009-05-04 03:50 PM

【转帖】adt static link settings
 
adt static link settings
adt static link settings
are there instructions somewhere that describe the necessary preprocessor, compiler, and linker settings to statically link adtdirect 0.51 under msvc2003?
the creationtest example uses dlls so i can't be sure what cpp settings are necessary for static libs.
for those interested, i'm failing to link on the following:
database.obj : warning lnk4049: locally defined symbol ?kidentity@odgematrix3d@@2v1@b (public: static class odgematrix3d const odgematrix3d::kidentity) imported
database.obj : error lnk2001: unresolved external symbol "public: void __thiscall oddbdatabase::readfile(char const *,bool,enum oda::filesharemode,class odwstring const &,bool)" (?readfile@oddbdatabase@@$$fqaexpbd_nw4filesharemo de@oda@@abvodwstring@@1@z)
database.obj : error lnk2001: unresolved external symbol "public: static class odsmartptr<class odgspaperlayouthelper> __cdecl odgspaperlayouthelper::cast(class odrxobject const *)" (?cast@odgspaperlayouthelper@@$$fsa?av?$odsmartptr @vodgspaperlayouthelper@@@@pbvodrxobject@@@z)
globals.obj : error lnk2019: unresolved external symbol "class odstring __cdecl modulefilename(void *)" (?modulefilename@@ya?avodstring@@pax@z) referenced in function "public: virtual class odstring __thiscall odrxdynamicmodule<class aecbase>::modulefilename(void)const " (?modulefilename@?$odrxdynamicmodule@vaecbase@@@@u be?avodstring@@xz)
globals.obj : error lnk2019: unresolved external symbol "protected: static void __cdecl odrxobject:perator delete[](void *)" (??_vodrxobject@@kaxpax@z) referenced in function "public: virtual void * __thiscall odrxdynamicmodule<class aecbase>::`vector deleting destructor'(unsigned int)" (??_e?$odrxdynamicmodule@vaecbase@@@@uaepaxi@z)
quote:
originally posted by mmacbeth
are there instructions somewhere that describe the necessary preprocessor, compiler, and linker settings to statically link adtdirect 0.51 under msvc2003?
the creationtest example uses dlls so i can't be sure what cpp settings are necessary for static libs.
for those interested, i'm failing to link on the following:
database.obj : warning lnk4049: locally defined symbol ?kidentity@odgematrix3d@@2v1@b (public: static class odgematrix3d const odgematrix3d::kidentity) imported
database.obj : error lnk2001: unresolved external symbol "public: void __thiscall oddbdatabase::readfile(char const *,bool,enum oda::filesharemode,class odwstring const &,bool)" (?readfile@oddbdatabase@@$$fqaexpbd_nw4filesharemo de@oda@@abvodwstring@@1@z)
database.obj : error lnk2001: unresolved external symbol "public: static class odsmartptr<class odgspaperlayouthelper> __cdecl odgspaperlayouthelper::cast(class odrxobject const *)" (?cast@odgspaperlayouthelper@@$$fsa?av?$odsmartptr @vodgspaperlayouthelper@@@@pbvodrxobject@@@z)
globals.obj : error lnk2019: unresolved external symbol "class odstring __cdecl modulefilename(void *)" (?modulefilename@@ya?avodstring@@pax@z) referenced in function "public: virtual class odstring __thiscall odrxdynamicmodule<class aecbase>::modulefilename(void)const " (?modulefilename@?$odrxdynamicmodule@vaecbase@@@@u be?avodstring@@xz)
globals.obj : error lnk2019: unresolved external symbol "protected: static void __cdecl odrxobject:perator delete[](void *)" (??_vodrxobject@@kaxpax@z) referenced in function "public: virtual void * __thiscall odrxdynamicmodule<class aecbase>::`vector deleting destructor'(unsigned int)" (??_e?$odrxdynamicmodule@vaecbase@@@@uaepaxi@z)
hello,
version 0.5.1 adtdirect was supplied only in dll variant.
since next version (0.6) static build will be also available.
it will be released right after dd1.13.
vladimir alekseev


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