Hi Diana, osg::DrawElementsUInt is defined in 'OSG/include/osg/PrimitiveSet' but 'OSG/include/osg/Geometry' already include it. And you have include 'OSG/include/osg/Geometry' so this not look like to be an include error.
And this is not an link error : c2039 is a definition/include error. HTH David Callu 2011/6/6 Diana Kittelmann <[email protected]> > Hi, > > I'm trying to add a simple Point to my scene based on the BasicGeometry > tutorial. I get the following error: > > error c2039: 'DrawElementsUInt' is not an element of 'osg' > > Do I have to include sth special for this method or do i have to link sth? > > I use osg 2.8.3 with vc8 and I'm linking osgd.lib, osgUtild.lib, > osgViewerd.lib, osgGAd.lib, osgDBd.lib, osgTextd.lib an I include > > osg/Node > osg/Group > osg/Geode > osg/Geometry > osg/Texture2D > osgDB/ReadFile > osgViewer/Viewer > osg/PositionAttitudeTransform > osgGA/TrackballManipulator > > Thank you! > > Cheers, > Diana[/url] > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=40109#40109 > > > > > > _______________________________________________ > 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

