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

erator 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

erator 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