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

yang686526 2009-05-05 12:04 PM

【转帖】help 1
 
help !
help !
is there anyone out there who can help to get the examples running on mac osx ? i have posted 2 messages ( 1 in september, and 1 in the last few days ) to which i have had no replies or help. it seems that there are not alot of resources here to help macintosh users. it took a little while to figure out the dwgdirect.chm is a windows help document ( luckily i have virtual pc ). it might be useful if someone to added a codewarrior project file to see the optimum settings ( i have been through past messages and various clues ) with some of the examples, and which libraries and frameworks dwgdirect is dependent upon. i am trying to write a mach-o application and would like to add dwg/dxf import ability and so far have got no where trying to figure out how even to link ( let alone run ) the examples.
andy
what version of codewarrior are you using?
if you download the unix version of our nonlibs file, you will fine a makefile in the projectfiles/unix directory, for our odreadex example. this will give you the dependencies for this sample program, and odreadex is a good starting point for creating an importer.

quote:
originally posted by
what version of codewarrior are you using?
codewarrior 9.4, mac osx 10.3.9.
thanks for your help, i will take a look at the unix files.
andy
you should be able to include the source files built by our unix makefile in a simple cw9 mach-0 project, set your include path to contain the include directories listed in the makefile, and link in the cw9 static versions of the dd libraries listed in the makefile. if you have any problems, let us know.

thanks
thanks, that did the trick. i was including all the dd libraries. it now links and i can get something to happen.
andy


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