![]() |
|
| |
![]() |
#1 |
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
![]() |
![]() odvectorizeex
odvectorizeex i can build and execute odvectorizeex using the allexamples solution and everything works fine. i am trying to build and use it as a stand alone program, eventually to implement it into a larger project, but cannot seem to resolve all of the linking issues. i have included all the libraries and header files i can find inside of _opendirect. here are a few of the 525 errors i'm getting. exgssimpledevice.obj : error lnk2019: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice:nsize(class odgsdcrect const &)" (?onsize@odgsbasevectorizedevice@@uaexabvodgsdcrec t@@@z) referenced in function "public: __thiscall exgssimpledevice::exgssimpledevice(void)" (??0exgssimpledevice@@qae@xz) exgssimpledevice.obj : error lnk2019: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice::setlogicalpalette(unsigne d long const *,int)" (?setlogicalpalette@odgsbasevectorizedevice@@uaexp bkh@z) referenced in function "public: __thiscall exgssimpledevice::exgssimpledevice(void)" (??0exgssimpledevice@@qae@xz) exgssimpledevice.obj : error lnk2019: unresolved external symbol "unsigned long const * __cdecl odcmacadlightpalette(void)" (?odcmacadlightpalette@@yapbkxz) referenced in function "public: __thiscall exgssimpledevice::exgssimpledevice(void)" (??0exgssimpledevice@@qae@xz) exgssimpledevice.obj : error lnk2019: unresolved external symbol "public: __thiscall odgsbasevectorizedevice: ![]() exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual class odrxobject * __thiscall odgsbasevectorizedevice::queryx(class odrxclass const *)const " (?queryx@odgsbasevectorizedevice@@ubepavodrxobject @@pbvodrxclass@@@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual class odrxobject * __thiscall odrxobject::x(class odrxclass const *)const " (?x@odrxobject@@ubepav1@pbvodrxclass@@@z) gidumperimpl.obj : error lnk2001: unresolved external symbol "public: virtual class odrxobject * __thiscall odrxobject::x(class odrxclass const *)const " (?x@odrxobject@@ubepav1@pbvodrxclass@@@z) odvectorizeex.obj : error lnk2001: unresolved external symbol "public: virtual class odrxobject * __thiscall odrxobject::x(class odrxclass const *)const " (?x@odrxobject@@ubepav1@pbvodrxclass@@@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual class odrxclass * __thiscall odgsbasevectorizedevice::isa(void)const " (?isa@odgsbasevectorizedevice@@ubepavodrxclass@@xz ) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual long __thiscall odrxobject::numrefs(void)const " (?numrefs@odrxobject@@ubejxz) gidumperimpl.obj : error lnk2001: unresolved external symbol "public: virtual long __thiscall odrxobject::numrefs(void)const " (?numrefs@odrxobject@@ubejxz) odvectorizeex.obj : error lnk2001: unresolved external symbol "public: virtual long __thiscall odrxobject::numrefs(void)const " (?numrefs@odrxobject@@ubejxz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual class odrxobjectptr __thiscall odrxobject::clone(void)const " (?clone@odrxobject@@ube?avodrxobjectptr@@xz) gidumperimpl.obj : error lnk2001: unresolved external symbol "public: virtual class odrxobjectptr __thiscall odrxobject::clone(void)const " (?clone@odrxobject@@ube?avodrxobjectptr@@xz) odvectorizeex.obj : error lnk2001: unresolved external symbol "public: virtual class odrxobjectptr __thiscall odrxobject::clone(void)const " (?clone@odrxobject@@ube?avodrxobjectptr@@xz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odrxobject::copyfrom(class odrxobject const *)" (?copyfrom@odrxobject@@uaexpbv1@@z) gidumperimpl.obj : error lnk2019: unresolved external symbol "public: virtual void __thiscall odrxobject::copyfrom(class odrxobject const *)" (?copyfrom@odrxobject@@uaexpbv1@@z) referenced in function "public: __thiscall odgidumper: ![]() odvectorizeex.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odrxobject::copyfrom(class odrxobject const *)" (?copyfrom@odrxobject@@uaexpbv1@@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual enum odrx: ![]() gidumperimpl.obj : error lnk2001: unresolved external symbol "public: virtual enum odrx: ![]() odvectorizeex.obj : error lnk2001: unresolved external symbol "public: virtual enum odrx: ![]() exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall odrxobject::isequalto(class odrxobject const *)const " (?isequalto@odrxobject@@ube_npbv1@@z) gidumperimpl.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall odrxobject::isequalto(class odrxobject const *)const " (?isequalto@odrxobject@@ube_npbv1@@z) odvectorizeex.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall odrxobject::isequalto(class odrxobject const *)const " (?isequalto@odrxobject@@ube_npbv1@@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual class odsmartptr<class odrxdictionary> __thiscall odgsbasevectorizedevice:roperties(void)" (?properties@odgsbasevectorizedevice@@uae?av?$odsm artptr@vodrxdictionary@@@@xz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual class odgicontext * __thiscall odgsbasevectorizedevice::usergicontext(void)const " (?usergicontext@odgsbasevectorizedevice@@ubepavodg icontext@@xz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice::setusergicontext(class odgicontext *)" (?setusergicontext@odgsbasevectorizedevice@@uaexpa vodgicontext@@@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice::invalidate(class odgsdcrect const &)" (?invalidate@odgsbasevectorizedevice@@uaexabvodgsd crect@@@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice::invalidate(void)" (?invalidate@odgsbasevectorizedevice@@uaexxz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall odgsbasevectorizedevice::isvalid(void)const " (?isvalid@odgsbasevectorizedevice@@ube_nxz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice:nrealizeforegroundpalett e(void)" (?onrealizeforegroundpalette@odgsbasevectorizedevi ce@@uaexxz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice:nrealizebackgroundpalett e(void)" (?onrealizebackgroundpalette@odgsbasevectorizedevi ce@@uaexxz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice:ndisplaychange(int,int,i nt)" (?ondisplaychange@odgsbasevectorizedevice@@uaexhhh @z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice::addview(class odgsview *)" (?addview@odgsbasevectorizedevice@@uaexpavodgsview @@@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual class odsmartptr<class odgsmodel> __thiscall odgsbasevectorizedevice::createmodel(void)" (?createmodel@odgsbasevectorizedevice@@uae?av?$ods martptr@vodgsmodel@@@@xz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall odgsbasevectorizedevice::eraseview(int)" (?eraseview@odgsbasevectorizedevice@@uae_nh@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall odgsbasevectorizedevice::eraseview(class odgsview *)" (?eraseview@odgsbasevectorizedevice@@uae_npavodgsv iew@@@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual void __thiscall odgsbasevectorizedevice::eraseallviews(void)" (?eraseallviews@odgsbasevectorizedevice@@uaexxz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual int __thiscall odgsbasevectorizedevice::numviews(void)const " (?numviews@odgsbasevectorizedevice@@ubehxz) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual class odgsview * __thiscall odgsbasevectorizedevice::viewat(int)" (?viewat@odgsbasevectorizedevice@@uaepavodgsview@@ h@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual bool __thiscall odgsbasevectorizedevice::setbackgroundcolor(unsign ed long)" (?setbackgroundcolor@odgsbasevectorizedevice@@uae_ nk@z) exgssimpledevice.obj : error lnk2001: unresolved external symbol "public: virtual unsigned long __thiscall odgsbasevectorizedevice::getbackgroundcolor(void)" (?getbackgroundcolor@odgsbasevectorizedevice@@uaek xz) exgssimpledevice.obj : error lnk2019: unresolved external symbol "public: virtual __thiscall odrxobject::~odrxobject(void)" (??1odrxobject@@uae@xz) referenced in function "public: virtual __thiscall odgsdevice::~odgsdevice(void)" (??1odgsdevice@@uae@xz) gidumperimpl.obj : error lnk2001: unresolved external symbol "public: virtual __thiscall odrxobject::~odrxobject(void)" (??1odrxobject@@uae@xz) odvectorizeex.obj : error lnk2001: unresolved external symbol "public: virtual __thiscall odrxobject::~odrxobject(void)" (??1odrxobject@@uae@xz) exgssimpledevice.obj : error lnk2019: unresolved external symbol "public: __thiscall odstring::~odstring(void)" (??1odstring@@qae@xz) referenced in function "public: virtual void __thiscall exsimpleview:wnerdrawdc(class odgepoint3d const &,class odgevector3d const &,class odgevector3d const &,class odgiselfgdidrawable const *,bool,bool)" (?ownerdrawdc@exsimpleview@@uaexabvodgepoint3d@@ab vodgevector3d@@1pbvodgiselfgdidrawable@@_n3@z) giconveyorgeometrydumper.obj : error lnk2001: unresolved external symbol "public: __thiscall odstring::~odstring(void)" (??1odstring@@qae@xz) gidumperimpl.obj : error lnk2001: unresolved external symbol "public: __thiscall odstring::~odstring(void)" (??1odstring@@qae@xz) odvectorizeex.obj : error lnk2001: unresolved external symbol "public: __thiscall odstring::~odstring(void)" (??1odstring@@qae@xz) exgssimpledevice.obj : error lnk2019: unresolved external symbol "public: class odstring & __cdecl odstring::format(char const *,...)" (?format@odstring@@qaaaav1@pbdzz) referenced in function "public: virtual void __thiscall exsimpleview:wnerdrawdc(class odgepoint3d const &,class odgevector3d const &,class odgevector3d const &,class odgiselfgdidrawable const *,bool,bool)" (?ownerdrawdc@exsimpleview@@uaexabvodgepoint3d@@ab vodgevector3d@@1pbvodgiselfgdidrawable@@_n3@z) giconveyorgeometrydumper.obj : error lnk2001: unresolved external symbol "public: class odstring & __cdecl odstring::format(char const *,...)" (?format@odstring@@qaaaav1@pbdzz) gidumperimpl.obj : error lnk2001: unresolved external symbol "public: class odstring & __cdecl odstring::format(char const *,...)" (?format@odstring@@qaaaav1@pbdzz) exgssimpledevice.obj : error lnk2019: unresolved external symbol "class odgevector3d __cdecl operator*(class odgematrix3d const &,class odgevector3d const &)" (??d@ya?avodgevector3d@@abvodgematrix3d@@abv0@@z) referenced in function "public: virtual void __thiscall exsimpleview:wnerdrawdc(class odgepoint3d const &,class odgevector3d const &,class odgevector3d const &,class odgiselfgdidrawable const *,bool,bool)" (?ownerdrawdc@exsimpleview@@uaexabvodgepoint3d@@ab vodgevector3d@@1pbvodgiselfgdidrawable@@_n3@z) exgssimpledevice.obj : error lnk2019: unresolved external symbol "class odgepoint3d __cdecl operator*(class odgematrix3d const &,class odgepoint3d const &)" (??d@ya?avodgepoint3d@@abvodgematrix3d@@abv0@@z) referenced in function "public: virtual void __thiscall exsimpleview:wnerdrawdc(class odgepoint3d const &,class odgevector3d const &,class odgevector3d const &,class odgiselfgdidrawable const *,bool,bool)" (?ownerdrawdc@exsimpleview@@uaexabvodgepoint3d@@ab vodgevector3d@@1pbvodgiselfgdidrawable@@_n3@z) exgssimpledevice.obj : error lnk2019: unresolved external symbol "public: class odgematrix3d const & __thiscall odgibasevectorizer::eyetooutputtransform(void)cons t " (?eyetooutputtransform@odgibasevectorizer@@qbeabvo dgematrix3d@@xz) referenced in function "public: virtual void __thiscall exsimpleview:wnerdrawdc(class odgepoint3d const &,class odgevector3d const &,class odgevector3d const &,class odgiselfgdidrawable const *,bool,bool)" (?ownerdrawdc@exsimpleview@@uaexabvodgepoint3d@@ab vodgevector3d@@1pbvodgiselfgdidrawable@@_n3@z) exgssimpledevice.obj : error lnk2019: unresolved external symbol "protected: void __thiscall odstring::init(void)" (?init@odstring@@iaexxz) referenced in function "public: __thiscall odstring: ![]() giconveyorgeometrydumper.obj : error lnk2001: unresolved external symbol "protected: void __thiscall odstring::init(void)" (?init@odstring@@iaexxz) gidumperimpl.obj : error lnk2001: unresolved external symbol "protected: void __thiscall odstring::init(void)" (?init@odstring@@iaexxz) exgssimpledevice.obj : error lnk2019: unresolved external symbol "public: __thiscall odstring: ![]() any ideas or suggestions?, where else should i look? i am using microsoft visual 2005, and using the vc8 version of the library. cheers, paul if you are defining the _toolkit_in_dll_ symbol in your project, and then linking in our static libraries, you will get these types of errors. _toolkit_in_dll_ should only be defined if you use the dll version of dwgdirect. if this does not help, please post the compile command line for one of the files in your project, along with the link command line. |
![]() |
![]() |
GDT自动化论坛(仅游客可见) |