you need to add header files 
 
#include <osgViewer/Viewer>
#include <osgGA/TrackballManipulator>
 
 
 

在2008-07-02 09:04:03,"Zamo Cédrik" <[EMAIL PROTECTED]> 写道:


Hi,

 

in tutorial "Loading Models from Files and Positioning Them in a Scene" there 
is :

 

    osgViewer::Viewer viewer;

     

    viewer.addCameraManipulator(new osgGA::TrackballManipulator);

 

compiler errors ;

 

    error C2039: 'addCameraManipulator' : is not a member of 'osgViewer::Viewer'

 

and

 

    error C2039: 'TrackballManipulator' : n'est pas membre de 'osgGA'

 

is there up to date tutorials ?

 

thanks.



Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to