Okay, getting closer. dynamic cast warnings gone, dll
linkage warnings gone, the calmixer type problems were
fixed by upgrading from cal3d 0.10.0 to 0.11.0 -
theres 3 errors remaining:
osgcal2\CoreModel.cpp(430): error C2678: binary '*' :
no operator found which takes a left-hand operand of
type 'overloaded-function' (or there is no acceptable
conversion)
osgcal2\CoreModel.cpp(430): error C2059: syntax error
: ')'
osgcal2\CoreModel.cpp(446): error C2676: binary '[' :
'osg::ref_ptr<T>' does not define this operator or a
conversion to a type acceptable to the predefined
operator
with
[
T=osgCal::MatrixIndexBuffer
]
thanks for your time.
--- Vladimir Shabanov <[EMAIL PROTECTED]> wrote:
> 2007/6/8, galvatron brinkley
> <[EMAIL PROTECTED]>:
> > Hi, thanks for the replies. I've created a new
> visual
> > studio project (win32 - dll) and added all the
> osgCal
> > files + gave it the directories for the libs.
> >
> > it has a ton of warnings like this:
> >
> > Model.cpp(54): warning C4541: 'dynamic_cast' used
> on
> > polymorphic type 'osg::Node' with /GR-;
> unpredictable
> > behavior may result
>
> You have disabled RTTI, needed for dynamic_cast
> see
>
http://msdn2.microsoft.com/en-us/library/we6hfdy0(VS.80).aspx
> for details
>
> > then it errors:
> >
> > Model.cpp(82): error C2039:
> 'getAnimationActionList' :
> > is not a member of 'CalMixer'
>
> What version of cal3d do you use? osgCal tested on
> 0.10.0 and 0.11.0.
> Maybe interface was changed.
>
> > and finally:
> >
> > Model.cpp(109): warning C4273:
> 'osgCal::Model::Model'
> > : inconsistent dll linkage
>
> I think you need to define OSGCAL_LIBRARY for
> correct dllimport/dllexport stuff
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/