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

yang686526 2009-05-04 07:47 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 08:26 PM.