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

yang686526 2009-05-07 03:52 PM

【转帖】sheetset Example
 
sheetset example
sheetset example
the latest dwgdirect 1.12 can read sheetset. i have find a example in the exmaple folder,that is odsheetset.
the project file is jamfile, i don't know how to compile it in windows os. so i create an empty win32 project for odsheetset.
everythins is ok until the link, there are several link errors as following:
--------------------------------------------------------------------------
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst::odsmdblayoutreference::g_pdesc" (?g_pdesc@odsmdblayoutreference@dst@@2pavodrxclass @@a)
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst::odsmsheet::g_pdesc" (?g_pdesc@odsmsheet@dst@@2pavodrxclass@@a)
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst::odsmsubset::g_pdesc" (?g_pdesc@odsmsubset@dst@@2pavodrxclass@@a)
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst::odsmsheetsetmgr::g_pdesc" (?g_pdesc@odsmsheetsetmgr@dst@@2pavodrxclass@@a)
odsheetset.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * dst::odsmpersist::g_pdesc" (?g_pdesc@odsmpersist@dst@@2pavodrxclass@@a)
================================================== =
os: windows 2000 professional
vc6.0 with sp5.
anybody help?
thanks!
you need to link with dd_vc6md_sm.lib
sergey slezkin
are there no dsp at:
".\projectfiles\win32\msvc6\examples\odsheetse t\"
?
quote:
originally posted by sergey slezkin
you need to link with dd_vc6md_sm.lib
it works now! thanks!
quote:
originally posted by wvk
are there no dsp at:
".\projectfiles\win32\msvc6\examples\odsheetse t\"
?
if you have jam ,you can compile the jamfile, which is the project file
quote:
originally posted by sergey slezkin
you need to link with dd_vc6md_sm.lib
by the way ,when will opendwg support the write of sheetset? and is there any document about dst file format?
well, writing sheetsets is implemented, but not tested thoroughly.
in the sample see functions "modifydatabase" and "savedatabase".
you may try it and if you find any bugs - report them, this will greatly speed up official write support.
quote:
originally posted by wvk
well, writing sheetsets is implemented, but not tested thoroughly.
in the sample see functions "modifydatabase" and "savedatabase".
you may try it and if you find any bugs - report them, this will greatly speed up official write support.
that's great ! we'll try it!


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