rem: tchunk1 = OSGTransformChunk::create();
add: tchunk1 = TransformChunk::create();
context: int main( int argc, char *argv[] ){	osgInit(argc, argv);		glutInit(&argc, argv);	glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE);	glutCreateWindow("OpenSG");	// glutKeyboardFunc(key);	// glutReshapeFunc(resize);	glutDisplayFunc(display);       	// glutMouseFunc(mouse);   	// glutMotionFunc(motion); 		glutIdleFunc(display);		glMatrixMode( GL_PROJECTION );	glLoadIdentity();	gluPerspective( 60, 1, 0.1, 10 );	glMatrixMode( GL_MODELVIEW );	glLoadIdentity();	gluLookAt( 3, 3, 3,  0, 0, 0,   0, 1, 0 );		glEnable( GL_DEPTH_TEST );	glEnable( GL_LIGHTING );	glEnable( GL_LIGHT0 );	dlid = glGenLists( 1 );	glNewList( dlid, GL_COMPILE );	glutSolidSphere( .8, 8, 8 );	glEndList();		OSGMatrix m;	tchunk1 = OSGTransformChunk::create();	m.setTranslate( 0, 1, 0 );	tchunk1->setMatrix( m );	tchunk2 = OSGTransformChunk::create();	tchunk2->setMatrix( OSGMatrix::identity() );	mchunk1 = OSGMaterialChunk::create();	mchunk1->setDiffuse( OSGVec4f( 1,0,0,0 ) );	mchunk1->setAmbient( OSGVec4f( 1,0,0,0 ) );	mchunk1->setShininess( 20 );	mchunk2 = OSGMaterialChunk::create();	mchunk2->setDiffuse( OSGVec4f( 0,1,0,0 ) );	mchunk2->setAmbient( OSGVec4f( 0,1,0,0 ) );	mchunk2->setShininess( 50 );	glutMainLoop();	return 0;}