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

yang686526 2009-05-05 10:30 AM

【转帖】exportimport missing from dd-nonlibs.tar.gz
 
export/import missing from dd_nonlibs.tar.gz
export/import missing from dd_nonlibs.tar.gz
i'm trying to build the examples/oddwfexportex example on linux, but i'm stuck on it not finding dwfexport.h and ../../imports/dwfimport/include/dwfimport.h
i got the dwgdirect 1.13 downloads dd_nonlibs.tar.gz and dd_lnxx86_3.4.3.tar.gz, but the "exports" and "imports" directories are not there. those directories are in the windows download dd_nonlibs.zip but not the unix/linux dd_nonlibs.tar.gz. shouldn't they be in both?
quote:
originally posted by ljb
those directories are in the windows download dd_nonlibs.zip but not the unix/linux dd_nonlibs.tar.gz. shouldn't they be in both?
sure they should, perhaps there is a bug in packaging. unfortunately, it wil be fixed only in 1.14 release. till then you may use headers from the windows package - they are the same. thanks for letting us know.
vladimir
on further thought, i wonder if some of those include files in imports/*/include and exports/*/include really belong in the top-level include directory instead. for instance, dwfexport.h describes the interface to lib/*/dd_*_dwfexport.a and would be used by programs linking to that library. the header files for other libraries released in lib/... are in include/... so perhaps dwfexport.h should also be there, rather than under exports/. just something to consider.
it was made so, because imports/exports do not belong to "core" library, they use dd just like any client code.
vladimir


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