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

yang686526 2009-05-06 06:29 PM

【转帖】new user mac osx codewarrior
 
new user mac osx codewarrior
new user mac osx codewarrior
i am justing starting out with opendwg and am trying to make one of the examples ( odvectorizeex ). i am using codewarrior 9 running mac osx v10.3.5.
i have added the mach-o opendwg library files to a mach-o c++ console project. it uses the msl_all_mach-o_d.lib library and i have added the carbon framework. i have defined the _toolkit_in_dll and target_os_mac macros. i get alot of link errors, for example...
link error : undefined: 'std::ios_base::init::~init()' (code)
referenced from '__static_initialization_and_destruction_0(int, int)' in dd_macosx_ge.a
link error : undefined: '__gxx_personality_v0' (non lazy ptr)
referenced from 'eh_frame1' in exgirasterimage.o
referenced from 'eh_frame1' in modelergeometryimpl.o
link error : undefined: 'odgigeometrysimplifier::textproc(const odgepoint3d&, const odgevector3d&, const odgevector3d&, const char*, long, __bool8, const odgitextstyle*, const odgevector3d*)' (code)
referenced from 'exgssimpledevice::textproc(const odgepoint3d&, const odgevector3d&, const odgevector3d&, const char*, long, __bool8, const odgitextstyle*, const odgevector3d*)' in exgssimpledevice.cpp
link error : undefined: 'odgibasevectorizer::metafiledc(const odgepoint3d&, const odgevector3d&, const odgevector3d&, const odgimetafile*, __bool8, __bool8)' (imported)
referenced from 'virtual table for odrxobjectimpl<exsimpleview, odgsview>' in exgssimpledevice.cpp
referenced from 'virtual table for exsimpleview' in exgssimpledevice.cpp
can anyone help or guide me to what additional libraries or options need setting to make the project work with codewarrior ?
thanks,
andy


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