查看单个帖子
旧 2009-05-06, 06:29 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)