hello everyone,
    Recently,i had a problem with Osg 2.8. I have write a very simple program 
to test a "bug" with osg 2.8 static libs and VS2008.The test program is below:
    
    #include <osgViewer/CompositeViewer>
    #include <osgViewer/GraphicsWindow>
    #include <osg/ref_ptr>
    USE_GRAPHICSWINDOW();
    int main(int argc, char* argv[])
   {
          osg::ref_ptr<osgViewer::CompositeViewer> pViewer = new 
osgViewer::CompositeViewer();
          return;
   }
   I use USE_GRAPHICSWINDOW() becasue my Osg2.8's libs is static libs.
   As you see, this is just a simple test program,but this doesn't work with 
VS2008 and osg2.8.I have found that the exception happened when the program 
exited,the stack when exception happend is below:
           static void __cdecl doexit (int code,int quick,int retcaller)     
Crt0.c
           void __cdecl exit (int code)                                      
Crt0dat.c
           int__tmainCRTStartup(void)                                        
Crt0.c
 
    Anyone can help me with this problem? Thank you .
 
    



网易邮箱,中国第一大电子邮件服务商
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to