几何尺寸与公差论坛------致力于产品几何量公差标准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, 09:04 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odreadex on suse

odreadex on suse
odreadex on suse
hello oda members,
i am newbie in dwgdirect c++ library. i downloaded the latest library version. i am trying to build odreadex (in suse 10.1) but i get many linker errors like these:
dbmline.cpp.text+0xbee9): referencia a `odauditinfo::errorsfixed(int)' sin definir
../../../../lib/lnxx86_4.1/dd_lnxx86_db.a(dbmline.o): en la funcion `oddbmline::dxfinfields(oddbdxffiler*)':
dbmline.cpp.text+0xcbde): referencia a `odauditinfo::errorsfound(int)' sin definir
dbmline.cpp.text+0xcbee): referencia a `odauditinfo::errorsfixed(int)' sin definir
../../../../lib/lnxx86_4.1/dd_lnxx86_db.a(dbmtext.o): en la funci髇 `odmtextrendererdata::setxdirwithcheck(odg
evector3d const&, oddbauditinfo*, oddbobjectid)':
dbmtext.cpp.text+0x1737): referencia a `odauditinfo::errorsfound(int)' sin definir
dbmtext.cpp.text+0x1747): referencia a `odauditinfo::errorsfixed(int)' sin definir
dbmtext.cpp.text+0x18a6): referencia a `odauditinfo::errorsfound(int)' sin definir
dbmtext.cpp.text+0x18b6): referencia a `odauditinfo::errorsfixed(int)' sin definir
the example compile very good with "g++ (gcc) 4.1.0 (suse linux)"
the linker command is (all the .o files exist):
g++ -wno-deprecated -o odreadex exsystemservices.o exhostappservices.o exundocontroller.o odfilebuf.o odreadex.o dbdumper.o exprotocolextension.o giworlddrawdumper.o exgirasterimage.o tostring.o ../../../../lib/lnxx86_4.1/dd_lnxx86_modelergeometry.a ../../../../lib/lnxx86_4.1/dd_lnxx86_breprenderer.a ../../../../lib/lnxx86_4.1/dd_lnxx86_br.a ../../../../lib/lnxx86_4.1/dd_lnxx86_acisbuilder.a ../../../../lib/lnxx86_4.1/dd_lnxx86_db.a ../../../../lib/lnxx86_4.1/dd_lnxx86_gs.a ../../../../lib/lnxx86_4.1/dd_lnxx86_spatialindex.a ../../../../lib/lnxx86_4.1/dd_lnxx86_gi.a ../../../../lib/lnxx86_4.1/dd_lnxx86_ge.a ../../../../lib/lnxx86_4.1/dd_lnxx86_root.a ../../../../lib/lnxx86_4.1/dd_lnxx86_ft.a ../../../../lib/lnxx86_4.1/dd_lnxx86_alloc.a ../../../../lib/lnxx86_4.1/dd_lnxx86_recomputedimblock.a
and my machine configutation is (using "uname -a"):
linux linux 2.6.16.54-0.2.5-smp #1 smp mon jan 21 13:29:51 utc 2008 i686 i686 i386 gnu/linux
did i download an old version?
are the libraries in the correct order?
any help will be appreciate
sergio
pd: i am attaching my directory configuration and makefile
attached files
add dd_lnxx86_dbroot library
vladimir
it is already there
hello vladimir
quote:
originally posted by vkalinin
add dd_lnxx86_dbroot library
dd_lnxx86_dbroot.a is already there. i also include some:
# dwgdirect librarys required to build odreadex
libs = ../../../../lib/lnxx86_4.1/dd_$(plt)_modelergeometry.a ../../../../lib/lnxx86_4.1/dd_$(plt)_breprenderer.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_br.a ../../../../lib/lnxx86_4.1/dd_$(plt)_acisbuilder.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_dynblocks.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_db.a ../../../../lib/lnxx86_4.1/dd_$(plt)_gs.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_spatialindex.a ../../../../lib/lnxx86_4.1/dd_$(plt)_ave.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_root.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_gi.a ../../../../lib/lnxx86_4.1/dd_$(plt)_ge.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_ft.a ../../../../lib/lnxx86_4.1/dd_$(plt)_alloc.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_rxrasterservices.a ../../../../lib/lnxx86_4.1/dd_$(plt)_jpeg.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_recomputedimblock.a ../../../../lib/lnxx86_4.1/dd_$(plt)_exfieldevaluator.a \
../../../../lib/lnxx86_4.1/dd_$(plt)_rxrasterprocessor.a
but the problem "still remaing the same"
i am attaching the makefile.
dd_$(plt)_root.a is not the same as *_dbroot
vladimir

quote:
originally posted by vkalinin
dd_$(plt)_root.a is not the same as *_dbroot
thanks vladimir. now it works
i misunderstand because the documentation does not mention any dbroot library so i thought it was misspelling.
is there any way i can evaluate your help and close the thread?
bye,
sergio
quote:
originally posted by sergiorivas@gmail.com
i misunderstand because the documentation does not mention any dbroot library so i thought it was misspelling.
dbroot was introduced recently (with new dgn toolkit) and is not yet reflected in the docs.
quote:
is there any way i can evaluate your help and close the thread?
there is no user rating on the forum, and topic closing is not required (just consider it closed)
vladimir
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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



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


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