Hi Robert, I've just done mingw static build and found the same crash problem in osgViewer/View.cpp, which was located at the mutex. I'll try later with your fix and see if it can work well this time.
Another interesting issue is that my mingw-5.1.4 failed to compile debug version of present3d and osgstaticviewer. It said 'memory exhausted' while linking (but removing some of the static-link dependencies will make it work). I wonder if it is because I'm using a not so good compiler. :-) Cheers, Wang Rui 2010/11/12 Robert Osfield <[email protected]>: > Hi Wang Rui, > > Once I got things build I still got crash on start up of > osgstaticviewer and present3D, both crashed due to initialization of > static mutexes. The fix I cam up with was to place the problem > mutexes inside a singleton function - I needed to add this fix to > src/osgText/Font.cpp and src/osgViewer/View.cpp. An svn update will > get this fix. > > Robert. > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
