查看单个帖子
旧 2009-05-04, 07:47 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】directdwg for macintel

directdwg for macintel
directdwg for macintel
bonjour,
to compile my directdwg program on mac i don't use xcode but a makefile.
i want to compile it for macintel.
so in my makefile, i replace the line :
cc = g++ -wno-deprecated -doda_mac_osx
by
cc = g++ -arch i386 -isysroot ../../../../../../developer/sdks/macosx10.4u.sdk
and also the name of lib (why are they not the same ??)
but that don't work at the link.
have somebody a makefile to compile one of the examples (odcopyex ?) for macintel ?
thanks.
eric p.
you can create a simple ub test app within xcode and build it from within there. then check the build transcript (which shows the command line for all compile & link instructions), and you can copy the appropriate settings into your makefile.

thank you neil, but i don't understand.
see this link: .
also, see the attached build log from building our odwriteex from within xcode.
attached files (3.3 kb, 17 views)


thank you neil, i will study that.
eric
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)