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.