高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|