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

yang686526 2009-05-04 05:12 PM

【转帖】build errors 9solaris0
 
build errors (solaris)
build errors (solaris)
i'm getting linker errors when compiling the odreadex example project. it's probably something obvious, but if it is, i can't spot it. the errors are...
undefined first referenced
symbol in file
oddbdatabasereactor::headersysvar_insbase_changed( oddbdatabase const *)exhostappservices.o
odrxobject::clone(void) const exsystemservices.o
oddbdate::getdate(short &, short &, short &) constdbdumper.o
oddbhostappservices::getblipmode(void) constexhostappservices.o
oddbdatabasereactor::headersysvar_userr5_changed(o ddbdatabase const *)exhostappservices.o
oddbdatabasereactor type_info node exhostappservices.o
oddbdatabasereactor::headersysvar_pinsbase_willcha nge(oddbdatabase const *)exhostappservices.o
oddbdatabase::getnamedobjectsdictionaryid(void) constdbdumper.o
[truncated]
my c compiler is g++, the compiler settings are...
-doda_gcc -doda_gcc_2_95 -doda_sun_sparc
the libs i'm specifying are...
dd_sparc32_db.a
dd_sparc32_gs.a
dd_sparc32_ft.a
dd_sparc32_modelergeometry.a
dd_sparc32_acisrenderer.a
dd_sparc32_acisbuilder.a
dd_sparc32_acis.a
dd_sparc32_ge.a
dd_sparc32_root.a
anyone able to suggest anything?
we haven't tested our solaris libs with gcc. do you know if mixing sun libs with gcc will work in general for c++ code? on the google groups it appeared that a number of people have had problems trying to do this.

drat.
in the example makefile, it seems to be using gcc, it even specifies -doda_gcc.
i'll give it a go on sun's compiler.
the example makefile was targeting linux (that's why the gcc stuff was in there).


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