几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】on mac - my app crahes far after last return, destroying gol (http://www.dimcax.com/hust/showthread.php?t=17796)

yang686526 2009-05-06 09:21 PM

【转帖】on mac - my app crahes far after last return, destroying gol
 
on mac - my app crahes far after last return, destroying gol
on mac - my app crahes far after last return, destroying golbal objets
on mac - my app crashes far after the last return, attempting to destroy global objetcs.
(i have a service class :
class myservices : public exsystemservices, public exhostappservices {};
declared odstaticrxobject<myservices> svcs; in the static section of my code.)
i have included the code indicated in the faq section of the doc and on the apple support (my app crashes when using dwg direct,etc..)
and now the linker aborts with the error "multiple definitions of symbol _atexit"
i am using xcode 2.4 and gcc 4.0.1
could someone give me a solution to get out of this
thanks
jph


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