几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » DirectDWG
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-05-06, 07:15 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odcopyex makefile

odcopyex makefile
odcopyex makefile
i'd like to compile the example odcopyex on linux. i see that only the example odreadex comes with a makefile. does anyone have a makefile for odcopyex? if not, i guess i'll try to write one using the odreadex as a guide, but i'll probably need some help from this forum.
thanks,
mark
bonjour mark,
i have modified the makefile of odreadex to compile odcopyex on linux like this :
# sample dwgdirect makefile for unix platforms.
# to use this makefile:
# 1. change the plt variable below to match the library name for
# the desired platform.
# 2. change the cc variable below according to the dwgdirect
# build documentation for your platform.
# 3. modify the rdsrc, exsrc and inc variables below (if necessary)
# to correctly reflect the location of your source and header files.
#
# this makefile assumes that the dwgdirect library files will be located
# in the same directory as the makefile.
# the platform name used in the archive names for a specific platform,
# for example, dd_lnxx86_db.a.
plt = lnxx86
# platform specific compiler command (linux is provided as a sample)
cc = g++ -wno-deprecated
# location of odreadex source files.
rdsrc = ../../examples/odcopyex
# location of exservices source files.
svsrc = ../../extensions/exservices
# location of dwgdirect header files.
inc = -i../../include -i$(svsrc)
# object files required to build odreadex
objs = exsystemservices.o exhostappservices.o exundocontroller.o \
odfilebuf.o odcopyex.o exgirasterimage.o
# dwgdirect librarys required to build odreadex
libs = dd_$(plt)_modelergeometry.a dd_$(plt)_acisrenderer.a \
dd_$(plt)_br.a dd_$(plt)_acisbuilder.a dd_$(plt)_db.a dd_$(plt)_gs.a \
dd_$(plt)_spatialindex.a dd_$(plt)_gi.a gs_winbitmap.a \
dd_$(plt)_ge.a dd_$(plt)_root.a dd_$(plt)_ft.a dd_$(plt)_alloc.a dd_$(plt)_recomputedimblock.a
odcopyex : $(objs)
$(cc) -o odcopyex $(objs) $(libs)
odcopyex.o : $(rdsrc)/odcopyex.cpp
$(cc) -c $(inc) $(rdsrc)/odcopyex.cpp
exsystemservices.o : $(svsrc)/exsystemservices.cpp
$(cc) -c $(inc) $(svsrc)/exsystemservices.cpp
exhostappservices.o : $(svsrc)/exhostappservices.cpp
$(cc) -c $(inc) $(svsrc)/exhostappservices.cpp
exundocontroller.o : $(svsrc)/exundocontroller.cpp
$(cc) -c $(inc) $(svsrc)/exundocontroller.cpp
odfilebuf.o : $(svsrc)/odfilebuf.cpp
$(cc) -c $(inc) $(svsrc)/odfilebuf.cpp
exgirasterimage.o : $(svsrc)/exgirasterimage.cpp
$(cc) -c $(inc) $(svsrc)/exgirasterimage.cpp
you must put the librarys in the odcopyex directory.
voil?
eric p.
merci eric,
that worked and was very helpful.
what about oddwfexportex? have you had any luck with that one? i tried something similar to the odcopyex and odreadex but couldn't get it working.
thanks again,
mark
i don't have tried to compile it.
eric p.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】makefile for odvectorizee yang686526 DirectDWG 0 2009-05-06 05:25 PM
【转帖】building on mac os yang686526 DirectDWG 0 2009-05-04 05:14 PM


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


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多