Hi Bruce, OpenSceneGraph now has a osgviewerGLUT example. The ancient osgGLUT library really isn't worth looking at as it dates back to a time before time forgot.
Robert. On Thu, May 28, 2009 at 6:51 PM, Clay, Bruce <[email protected]> wrote: > I can not get the osgGlut viewer to build either. The error list is > attached below. I am using Visual Studio 2005 and compiling against OSG > 2.8.1, OpenThreads and Producer both pulled with svn today. > > > > Several of the errors in this list come from STL > > > > > > Any thoughts? > > > > Bruce > > > > > > > > Error 1 error C2039: 'getPrims' : is not a member of > 'osgUtil::RenderStage' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 626 > > Error 2 error C2039: 'getPrims' : is not a member of > 'osgUtil::RenderStage' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 647 > > Error 3 error C2039: 'setTextureModeToInherit' : is not a > member of 'osg::StateSet' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1122 > > Error 4 error C2679: binary '<<' : no operator found which > takes a right-hand operand of type 'osg::LineSegment::vec_type' (or there is > no acceptable conversion) > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1271 > > Error 5 error C2679: binary '<<' : no operator found which > takes a right-hand operand of type 'osg::Vec3' (or there is no acceptable > conversion) > > > > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1294 > > Error 6 error C2679: binary '<<' : no operator found which > takes a right-hand operand of type 'osg::Vec3' (or there is no acceptable > conversion) f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp > 1301 > > Error 7 error C2248: > 'osg::AnimationPath::ControlPoint::_position' : cannot access protected > member declared in class 'osg::AnimationPath::ControlPoint' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1370 > > Error 8 error C2679: binary '<<' : no operator found which > takes a right-hand operand of type 'const osg::Vec3d' (or there is no > acceptable conversion) > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1370 > > Error 9 error C2248: > 'osg::AnimationPath::ControlPoint::_rotation' : cannot access protected > member declared in class 'osg::AnimationPath::ControlPoint' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1370 > > Error 10 error C3083: 'PrimtiveValueMap': the symbol to the left > of a '::' must be a type > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1769 > > Error 11 error C2039: 'iterator' : is not a member of > 'osgUtil::Statistics' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1769 > > Error 12 error C2133: 'pItr' : unknown size > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1769 > > Error 13 error C2512: 'std::iterator' : no appropriate default > constructor available > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1769 > > Error 14 error C2582: 'operator =' function is unavailable in > 'std::iterator' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1770 > > Error 15 error C2678: binary '!=' : no operator found which > takes a left-hand operand of type 'std::iterator' (or there is no acceptable > conversion) f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp > 1771 > > Error 16 error C2675: unary '++' : 'std::iterator' does not > define this operator or a conversion to a type acceptable to the predefined > operator f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp > 1772 > > Error 17 error C2819: type 'std::iterator' does not have an > overloaded member 'operator ->' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1774 > > Error 18 error C2039: 'second' : is not a member of > 'std::iterator' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1774 > > Error 19 error C2228: left of '.first' must have > class/struct/union > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1774 > > Error 20 error C2819: type 'std::iterator' does not have an > overloaded member 'operator ->' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1775 > > Error 21 error C2039: 'second' : is not a member of > 'std::iterator' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1775 > > Error 22 error C2228: left of '.second' must have > class/struct/union > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1775 > > Error 23 error C2819: type 'std::iterator' does not have an > overloaded member 'operator ->' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1776 > > Error 24 error C2039: 'first' : is not a member of > 'std::iterator' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1776 > > Error 25 error C2582: 'operator =' function is unavailable in > 'std::iterator' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1784 > > Error 26 error C2678: binary '!=' : no operator found which > takes a left-hand operand of type 'std::iterator' (or there is no acceptable > conversion) f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp > 1785 > > Error 27 error C2675: unary '++' : 'std::iterator' does not > define this operator or a conversion to a type acceptable to the predefined > operator f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp > 1786 > > Error 28 error C2819: type 'std::iterator' does not have an > overloaded member 'operator ->' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1788 > > Error 29 error C2039: 'second' : is not a member of > 'std::iterator' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1788 > > Error 30 error C2228: left of '.first' must have > class/struct/union > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1788 > > Error 31 error C2582: 'operator =' function is unavailable in > 'std::iterator' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1797 > > Error 32 error C2678: binary '!=' : no operator found which > takes a left-hand operand of type 'std::iterator' (or there is no acceptable > conversion) f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp > 1798 > > Error 33 error C2675: unary '++' : 'std::iterator' does not > define this operator or a conversion to a type acceptable to the predefined > operator f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp > 1799 > > Error 34 error C2819: type 'std::iterator' does not have an > overloaded member 'operator ->' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1801 > > Error 35 error C2039: 'second' : is not a member of > 'std::iterator' > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1801 > > Error 36 error C2228: left of '.second' must have > class/struct/union > f:\Projects\LIDAR\osgGLUT\src\osgGLUT\Viewer.cpp 1801 > > This message and any enclosures are intended only for the addressee. Please > notify the sender by email if you are not the intended recipient. If you > are > not the intended recipient, you may not use, copy, disclose, or distribute > this > message or its contents or enclosures to any other person and any such > actions > may be unlawful. Ball reserves the right to monitor and review all messages > and enclosures sent to or from this email address. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

