Hi all ,

In my code , I have been using the osgDB::readRefNodefiles. When I do compile 
the code it throwing me an error saying : 



Error   2       error C2039: 'readRefNodeFiles' : is not a member of 'osgDB'    

Error   3       error C3861: 'readRefNodeFiles': identifier not found   

IntelliSense: namespace "osgDB" has no member "readRefNodeFiles"        


I have included the libs also.

#include <osgDB/ReadFile> 
#include <osgDB/WriteFile>
#include <osgDB/Registry>


Code:
and the code part is 
osg::ref_ptr<osg::Node> loadedModel = osgDB::readRefNodeFiles(arguments);
                if (loadedModel.valid())
                {
                        mainGroup->addChild(loadedModel);

                        center = loadedModel->getBound().center();
                        diameter = loadedModel->getBound().radius() * 2.0f;
                }




Thank you!

Cheers,
Inna

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68840#68840





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to