Re: [osg-users] Error with osgDB::readRefNodeFiles[Solved]
Hi Mr.Robert, Yes, I have been using osg 3.4.0 version. yes, I realized lately, that I have been practicing the example of the 3.5 Version. I can not upgrade to newer version, because my current project demands me to use OSG 3.4.0 and Qt 5.6. Thank you! Cheers, Inna -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68859#68859 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Error with osgDB::readRefNodeFiles
Hi, Sorry, I found my mistake. :) I have to use osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); //not the readRefNodeFiles. thanks all . ... Thank you! Cheers, Inna -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68841#68841 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Error with osgDB::readRefNodeFiles
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 #include #include Code: and the code part is osg::ref_ptr 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