![]() |
【转帖】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 |
所有的时间均为北京时间。 现在的时间是 11:36 PM. |