[osg-users] error in tutorial "Loading Models from Files..."

浣曚紵 alwayshewei at 126.com
Wed Jul 2 02:31:42 PDT 2008


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

在2008-07-02 09:04:03,"Zamo Cédrik" <keninngar at yahoo.fr> 写道:


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080702/e3ec3762/attachment-0003.htm>


More information about the osg-users mailing list