Hi Paul, Thanks for reporting the problems. Neither Cedric (author of osgAnimation & this new example) nor I have access to a Windows systems to test against, from the errors nothing jumped out at me as what is the likely problem, perhaps Cedric might be able to have a better guess. Rather than guessing, perhaps yourself or fellow Windows dev might be able to spot the problem and propose a fix.
Cheers, Robert. On Wed, Oct 28, 2009 at 4:31 PM, Paul Martz <[email protected]> wrote: > osganimationtimeline fails to build on VC 2005. See attached error log. > > (FYI, several other of the plethora of osganimation* examples generate a lot > of warnings about inheriting by dominance. These should be investigated and > resolved.) > -- > Paul Martz > Skew Matrix Software LLC > _http://www.skew-matrix.com_ <http://www.skew-matrix.com/> > +1 303 859 9466 > > > 1>------ Skipped Build: Project: wrappers, Configuration: Release Win32 > ------ > 1>Project not selected to build for this solution configuration > 2>------ Skipped Build: Project: uninstall, Configuration: Release Win32 > ------ > 2>Project not selected to build for this solution configuration > 3>------ Build started: Project: Examples osganimationtimeline, > Configuration: Release Win32 ------ > 3>Compiling... > 3>osganimationtimeline.cpp > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::NodeCallback::osg::NodeCallback::cloneType' via dominance > 3> with > 3> [ > 3> T=osg::NodeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/NodeCallback(36) : see declaration of > 'osg::NodeCallback::cloneType' > 3> F:\Projects\OSG\include\osgAnimation/UpdateCallback(70) : see > reference to class template instantiation > 'osgAnimation::AnimationUpdateCallback<T>' being compiled > 3> with > 3> [ > 3> T=osg::NodeCallback > 3> ] > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::NodeCallback::osg::NodeCallback::clone' via dominance > 3> with > 3> [ > 3> T=osg::NodeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/NodeCallback(36) : see declaration of > 'osg::NodeCallback::clone' > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::NodeCallback::osg::NodeCallback::isSameKindAs' via dominance > 3> with > 3> [ > 3> T=osg::NodeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/NodeCallback(36) : see declaration of > 'osg::NodeCallback::isSameKindAs' > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::NodeCallback::osg::NodeCallback::libraryName' via dominance > 3> with > 3> [ > 3> T=osg::NodeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/NodeCallback(36) : see declaration of > 'osg::NodeCallback::libraryName' > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::NodeCallback::osg::NodeCallback::className' via dominance > 3> with > 3> [ > 3> T=osg::NodeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/NodeCallback(36) : see declaration of > 'osg::NodeCallback::className' > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::StateAttributeCallback::osg::StateAttributeCallback::cloneType' via > dominance > 3> with > 3> [ > 3> T=osg::StateAttributeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/StateAttributeCallback(31) : see > declaration of 'osg::StateAttributeCallback::cloneType' > 3> F:\Projects\OSG\include\osgAnimation/UpdateCallback(97) : see > reference to class template instantiation > 'osgAnimation::AnimationUpdateCallback<T>' being compiled > 3> with > 3> [ > 3> T=osg::StateAttributeCallback > 3> ] > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::StateAttributeCallback::osg::StateAttributeCallback::clone' via > dominance > 3> with > 3> [ > 3> T=osg::StateAttributeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/StateAttributeCallback(31) : see > declaration of 'osg::StateAttributeCallback::clone' > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::StateAttributeCallback::osg::StateAttributeCallback::isSameKindAs' via > dominance > 3> with > 3> [ > 3> T=osg::StateAttributeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/StateAttributeCallback(31) : see > declaration of 'osg::StateAttributeCallback::isSameKindAs' > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::StateAttributeCallback::osg::StateAttributeCallback::libraryName' via > dominance > 3> with > 3> [ > 3> T=osg::StateAttributeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/StateAttributeCallback(31) : see > declaration of 'osg::StateAttributeCallback::libraryName' > 3>F:\Projects\OSG\include\osgAnimation/UpdateCallback(64) : warning C4250: > 'osgAnimation::AnimationUpdateCallback<T>' : inherits > 'osg::StateAttributeCallback::osg::StateAttributeCallback::className' via > dominance > 3> with > 3> [ > 3> T=osg::StateAttributeCallback > 3> ] > 3> F:\Projects\OSG\include\osg/StateAttributeCallback(31) : see > declaration of 'osg::StateAttributeCallback::className' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(55) : > error C2039: 'StripAnimation' : is not a member of 'osgAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(55) : > error C2065: 'StripAnimation' : undeclared identifier > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(56) : > error C2039: 'StripAnimation' : is not a member of 'osgAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(57) : > error C2039: 'StripAnimation' : is not a member of 'osgAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(62) : > error C2512: 'osg::ref_ptr' : no appropriate default constructor available > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(62) : > error C2512: 'osg::ref_ptr' : no appropriate default constructor available > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(62) : > error C2512: 'osg::ref_ptr' : no appropriate default constructor available > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(72) : > error C2039: 'StripAnimation' : is not a member of 'osgAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(72) : > error C2061: syntax error : identifier 'StripAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(73) : > error C2678: binary '->' : no operator found which takes a left-hand operand > of type 'osg::ref_ptr' (or there is no acceptable conversion) > 3> F:\Projects\OSG\include\osg/ref_ptr(89): could be 'T > *osg::ref_ptr<T>::operator ->(void) const' > 3> while trying to match the argument list '(osg::ref_ptr)' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(73) : > error C2039: 'setLoop' : is not a member of 'osg::ref_ptr' > 3> F:\Projects\OSG\include\osg/ref_ptr(116) : see declaration of > 'osg::ref_ptr' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(75) : > error C2039: 'StripAnimation' : is not a member of 'osgAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(75) : > error C2061: syntax error : identifier 'StripAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(76) : > error C2678: binary '->' : no operator found which takes a left-hand operand > of type 'osg::ref_ptr' (or there is no acceptable conversion) > 3> F:\Projects\OSG\include\osg/ref_ptr(89): could be 'T > *osg::ref_ptr<T>::operator ->(void) const' > 3> while trying to match the argument list '(osg::ref_ptr)' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(76) : > error C2039: 'setLoop' : is not a member of 'osg::ref_ptr' > 3> F:\Projects\OSG\include\osg/ref_ptr(116) : see declaration of > 'osg::ref_ptr' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(79) : > error C2039: 'StripAnimation' : is not a member of 'osgAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(79) : > error C2061: syntax error : identifier 'StripAnimation' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(80) : > error C2678: binary '->' : no operator found which takes a left-hand operand > of type 'osg::ref_ptr' (or there is no acceptable conversion) > 3> F:\Projects\OSG\include\osg/ref_ptr(89): could be 'T > *osg::ref_ptr<T>::operator ->(void) const' > 3> while trying to match the argument list '(osg::ref_ptr)' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(80) : > error C2039: 'setLoop' : is not a member of 'osg::ref_ptr' > 3> F:\Projects\OSG\include\osg/ref_ptr(116) : see declaration of > 'osg::ref_ptr' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(86) : > error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' pointer from > 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > 3> Reason: cannot convert from 'osg::ref_ptr' to 'const > osg::ref_ptr<T>' > 3> Conversion requires a second user-defined-conversion operator or > constructor > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(90) : > error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' pointer from > 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > 3> Reason: cannot convert from 'osg::ref_ptr' to 'const > osg::ref_ptr<T>' > 3> Conversion requires a second user-defined-conversion operator or > constructor > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(101) : > error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' pointer from > 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > 3> Reason: cannot convert from 'osg::ref_ptr' to 'const > osg::ref_ptr<T>' > 3> Conversion requires a second user-defined-conversion operator or > constructor > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(108) : > error C2678: binary '->' : no operator found which takes a left-hand operand > of type 'osg::ref_ptr' (or there is no acceptable conversion) > 3> F:\Projects\OSG\include\osg/ref_ptr(89): could be 'T > *osg::ref_ptr<T>::operator ->(void) const' > 3> while trying to match the argument list '(osg::ref_ptr)' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(108) : > error C2039: 'setCallback' : is not a member of 'osg::ref_ptr' > 3> F:\Projects\OSG\include\osg/ref_ptr(116) : see declaration of > 'osg::ref_ptr' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(109) : > error C2678: binary '->' : no operator found which takes a left-hand operand > of type 'osg::ref_ptr' (or there is no acceptable conversion) > 3> F:\Projects\OSG\include\osg/ref_ptr(89): could be 'T > *osg::ref_ptr<T>::operator ->(void) const' > 3> while trying to match the argument list '(osg::ref_ptr)' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(109) : > error C2039: 'setCallback' : is not a member of 'osg::ref_ptr' > 3> F:\Projects\OSG\include\osg/ref_ptr(116) : see declaration of > 'osg::ref_ptr' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(109) : > error C2678: binary '->' : no operator found which takes a left-hand operand > of type 'osg::ref_ptr' (or there is no acceptable conversion) > 3> F:\Projects\OSG\include\osg/ref_ptr(89): could be 'T > *osg::ref_ptr<T>::operator ->(void) const' > 3> while trying to match the argument list '(osg::ref_ptr)' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(109) : > error C2039: 'getNumFrames' : is not a member of 'osg::ref_ptr' > 3> F:\Projects\OSG\include\osg/ref_ptr(116) : see declaration of > 'osg::ref_ptr' > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(129) : > error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' pointer from > 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > 3> Reason: cannot convert from 'osg::ref_ptr' to 'const > osg::ref_ptr<T>' > 3> Conversion requires a second user-defined-conversion operator or > constructor > 3>..\..\..\examples\osganimationtimeline\osganimationtimeline.cpp(134) : > error C2662: 'osg::ref_ptr<T>::get' : cannot convert 'this' pointer from > 'osg::ref_ptr' to 'const osg::ref_ptr<T> &' > 3> Reason: cannot convert from 'osg::ref_ptr' to 'const > osg::ref_ptr<T>' > 3> Conversion requires a second user-defined-conversion operator or > constructor > 3>Build log was saved at > "file://f:\Projects\OSG\bld\examples\osganimationtimeline\example_osganimationtimeline.dir\Release\BuildLog.htm" > 3>Examples osganimationtimeline - 30 error(s), 10 warning(s) > 4>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 > ------ > 4>Project not selected to build for this solution configuration > ========== Build: 0 succeeded, 1 failed, 212 up-to-date, 3 skipped > ========== > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

