查看单个帖子
旧 2009-05-06, 10:37 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem compiling odreadex under linu

problem compiling odreadex under linux
problem compiling odreadex under linux
hello,
when i try to compile the odreadex from dd 1.14.02 under linux i get the error message:
odreadex.o.data+0xc): undefined reference to `odrxcreatemoduleobject_for_odrecomputedimblockmod ule(char const*)'
i am using gcc 4.0.3 and the gcc 4 version of the toolkit.
any hints?
last edited by schwobbel; 29th may 2006 at 09:22 amfff">.
recomputedimblock is not linked in
?
vladimir
thank you for your fast answer. this pointed me to the right direction (obviously, i am quite new to the dd toolkit). the oda supplied makefile delivered as sample for odreadex is missing the library recomputedimblock.a to be included. so to everybody out there who is trying to compile the sample, make this change to your makefile:
code:
# 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 \
dd_$(plt)_ge.a dd_$(plt)_root.a dd_$(plt)_ft.a dd_$(plt)_alloc.a \
dd_$(plt)_recomputedimblock.a
the red portion has to be added.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)