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

yang686526 2009-05-07 04:09 PM

【转帖】solaris Examples
 
solaris examples
solaris examples
has anyone managed to successfully compile the examples on solaris? i'm using sun's c++ compiler 5.3 with no luck.
i'm defining oda_sun_sparc as specified in the instructions.
are there any specific options that need to be set on the compiler command line or environment in order to get this to work?
when compiling the odreadex example, i get the following errors...
"dbdumper.cpp", line 15: error: dbdumper::dumpheader(oddbdatabase*, int&) is not a static data member.
"dbdumper.cpp", line 15: error: unexpected type name "oddbdatabase" encountered.
"dbdumper.cpp", line 15: error: pdb is not defined.
"dbdumper.cpp", line 15: error: ostream is not a member of std.
"dbdumper.cpp", line 15: error: os is not defined.
[truncated]
anyone got any insights or ideas?
- ian
dwgdirect is being used successfully on solaris by other oda members. have you taken a look at the sample makefile that is included under projectfiles/unix in the nonlibs archive? if that does not help, please send more details about this problem to and we can assist you with it (please include your makefile or compiler settings).


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