![]() |
【转帖】unreserved External Symbol In Dd1.10
unreserved external symbol in dd1.10
unreserved external symbol in dd1.10 i use dd1.10 dll version. my code : ... odgepoint2darray pointarray; ... // fill the array odgepolyline2d* eptr = new odgepolyline2d (pointarray); ... linking result : nexi_acdd_hatchboundscrvisitor.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: __thiscall odgepolyline2d::odgepolyline2d(class odarray<class odgepoint2d,class odmemoryallocator<class odgepoint2d> > const &)" (__imp_??0odgepolyline2d@@qae@abv?$odarray@vodgepo int2d@@v?$odmemoryallocator@vodgepoint2d@@@@@@@z) referenced in function ... some odge items are not implemented - they exist in the headers (i.e. declared), but have no implementation as inline or in cpp. in this case eighter the odgepolyline2d or its constructor cannot be used. regards chudomir my special solution odgepolyline2d* eptr = new odgepolyline2d (); if ( eptr == null ) return; const_cast <odgepoint2darray&> (eptr->getvertices()) = pointarray; it works, but it seems hatch can´t work with odgepolyline2d . it works with odgelineseg2d, odgecircarc2d, odgenurbcurve2d and odgeelliparc2d. you should compose edgearray of odgelineseg2d to solve the array of points. or if the hatch type is oddbhatch::kpolyline, then simply asign the array of points at once by appendloop regards chudomir hi chudo, thanks for your help. these details i miss in the dd help. regards, uwe i too am getting unresolved linker error when trying to use odgepolyline2d with hatch: unresolved external symbol "public: class odgesplineent2d & __thiscall odgepolyline2d::setfitpointat(int,class odgepoint2d const &)" i am using dwgdirect 1.13.2 has this been fixed? any suggested workarounds? appendloop(odint32 looptype, const edgearray& edgeptrs) works only with odgelineseg2d, odgecircarc2d, odgeelliparc2d, and odgenurbcurve2d. to specify polyline loop use appendloop(odint32 looptype, const odgepoint2darray& vertices, const odgedoublearray& bulges); sergey slezkin last edited by mmuratov; 12th september 2005 at 04:41 amfff">. |
所有的时间均为北京时间。 现在的时间是 02:12 PM. |