几何尺寸与公差论坛------致力于产品几何量公差标准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 displaying 3dsolids in singledoc sample (http://www.dimcax.com/hust/showthread.php?t=18010)

yang686526 2009-05-06 10:39 PM

【转帖】problem displaying 3dsolids in singledoc sample
 
problem displaying 3dsolids in singledoc sample.
problem displaying 3dsolids in singledoc sample.
i'm trying to open a drawing file that contains 3d solids in the singledoc sample.
after reading several threads, i thought that if i added the enable_acis_support to the app it would fix the problem.
but now i get the following link error.
code:
error 1 error lnk2001: unresolved external symbol "class odrxmodule * __cdecl odrxcreatemoduleobject_for_modelermodule(class odstring const &)" (?odrxcreatemoduleobject_for_modelermodule@@yapavodrxmodule@@abvodstring@@@z) singledoc.obj
error 2 fatal error lnk1120: 1 unresolved externals .\debug/singledoc.execould you please direct me to what i may be missing?
thanks,
tom
you need to link with modelergeometry library.
sergey slezkin

thanks, that fixed it.
for reference:
to fix i added enable_acis_support and also set my linker->input->"additional dependencies" to
quote:
gs_wingdi.lib
gs_winopengl.lib
dd_vc8md_alloc.lib
dd_vc8md_spatialindex.lib
dd_vc8md_gi.lib
glu32.lib
dd_vc8md_jpeg.lib
dd_vc8md_db.lib
dd_vc8md_dbroot.lib
dd_vc8md_ge.lib
dd_vc8md_gs.lib
dd_vc8md_root.lib
opengl32.lib
dd_vc8md_ave.lib
dd_vc8md_breprenderer.lib
dd_vc8md_acisbuilder.lib
dd_vc8md_modelergeometry.lib
dd_vc8md_br.lib
dd_vc8md_gi.lib


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