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

yang686526 2009-05-06 10:37 PM

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


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