I have now checked out and built the current OSG "trunk", and can report that statically built OSG now terminates properly without any errors in both debug and release. Thank you very much for your help. :-)
Your "RenderBin_195.cpp" hotfix, however, causes an compile error when incorporating it into OSG 1.8.1. It seems this error is not due to the "depends_on" change, but rater due to some other differences between your RenderBin_195.cpp, and the RenderBin.cpp in OSG 1.8.1 (build errors attached). ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13632#13632
5>RenderBin.cpp 1>BufferObject.cpp 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(48) : error C2039: 'TRAVERSAL_ORDER' : is not a member of 'osgUtil::RenderBin' 5> C:\Repositories\Libraries\NEW\OpenSceneGraph-2.8.1\include\osgUtil/RenderBin(33) : see declaration of 'osgUtil::RenderBin' 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(48) : error C2065: 'TRAVERSAL_ORDER' : undeclared identifier 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(134) : error C2039: 'TRAVERSAL_ORDER' : is not a member of 'osgUtil::RenderBin' 5> C:\Repositories\Libraries\NEW\OpenSceneGraph-2.8.1\include\osgUtil/RenderBin(33) : see declaration of 'osgUtil::RenderBin' 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(134) : error C2065: 'TRAVERSAL_ORDER' : undeclared identifier 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(244) : error C2065: 'TRAVERSAL_ORDER' : undeclared identifier 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(244) : error C2051: case expression not constant 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(245) : error C3861: 'sortTraversalOrder': identifier not found 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(331) : error C2039: '_traversalNumber' : is not a member of 'osgUtil::RenderLeaf' 5> C:\Repositories\Libraries\NEW\OpenSceneGraph-2.8.1\include\osgUtil/RenderLeaf(33) : see declaration of 'osgUtil::RenderLeaf' 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(331) : error C2039: '_traversalNumber' : is not a member of 'osgUtil::RenderLeaf' 5> C:\Repositories\Libraries\NEW\OpenSceneGraph-2.8.1\include\osgUtil/RenderLeaf(33) : see declaration of 'osgUtil::RenderLeaf' 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(335) : error C2039: 'sortTraversalOrder' : is not a member of 'osgUtil::RenderBin' 5> C:\Repositories\Libraries\NEW\OpenSceneGraph-2.8.1\include\osgUtil/RenderBin(33) : see declaration of 'osgUtil::RenderBin' 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(337) : error C3861: 'copyLeavesFromStateGraphListToRenderLeafList': identifier not found 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(340) : error C2065: '_renderLeafList' : undeclared identifier 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(340) : error C2228: left of '.begin' must have class/struct/union 5> type is ''unknown-type'' 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(340) : error C2065: '_renderLeafList' : undeclared identifier 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(340) : error C2228: left of '.end' must have class/struct/union 5> type is ''unknown-type'' 5>..\..\..\OpenSceneGraph-2.8.1\src\osgUtil\RenderBin.cpp(340) : error C2780: 'void std::sort(_RanIt,_RanIt)' : expects 2 arguments - 3 provided 5> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3110) : see declaration of 'std::sort' 5>PositionalStateContainer.cpp 1>BlendFunc.cpp 1>BlendEquation.cpp 1>Generating Code...
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

