Page 1 of 1

BSpline

Posted: Mon Sep 26, 2011 3:45 am
by joanabaptista
Hi,

I'm trying to use the function BSpline, but it continues to give me an error :

error C2259: 'OpenSim::BSpline' : cannot instantiate abstract class due to following members:

'SimTK::Function *OpenSim::Function::createSimTKFunction(void) const' : is abstract

C:\OpenSim2.2.1\sdk\include\OpenSim/Common/Function.h(134) : see declaration of 'OpenSim::Function::createSimTKFunction'

Can anyone explain to me why is this happening?

Thanks,
Joana

Re: BSpline

Posted: Mon Sep 26, 2011 2:36 pm
by aymanh
Hi Joana,

Sorry about the confusion but the OpenSim::BSpline class is not supported. Since version 2.0 our functions are implemented in terms of SimTK functions. This BSpline class has not been implemented on this form (probably because it did not have a corresponding SimTK based B-spline).

Hope this explains,
-Ayman