Thanks for the note Paul, I've rebuilt the OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF and got the errors, fixes for these are now checked into svn/trunk. Cheers, Robert.
On 7 February 2012 14:55, Paul Martz <pma...@skew-matrix.com> wrote: > Hi Robert -- Looks like trunk fails to build when ref_ptr implicit casting > is disabled. I'd submit a fix, but am running out the door. Here's the two > errors I saw when I did an update and rebuild this morning: > > In libosg: > 5>..\..\..\src\osg\UserDataContainer.cpp(59) : error C2664: > 'osg::StateAttributeCallback *osg::CopyOp::operator ()(const > osg::StateAttributeCallback *) const' : cannot convert parameter 1 from > 'const osg::ref_ptr<T>' to 'const osg::StateAttributeCallback *' > 5> with > 5> [ > 5> T=osg::Object > 5> ] > 5> No user-defined-conversion operator available that can perform > this conversion, or the operator cannot be called > > In libosgDB: > 9>..\..\..\src\osgDB\Registry.cpp(1103) : error C2664: > 'osgDB::Registry::ReadFunctor::cloneType' : cannot convert parameter 2 from > 'osg::ref_ptr<T>' to 'const osgDB::Options *' > 9> with > 9> [ > 9> T=osgDB::Options > 9> ] > 9> No user-defined-conversion operator available that can perform > this conversion, or the operator cannot be called > > > -- > -Paul Martz Skew Matrix Software > http://www.skew-matrix.com/ > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org