Undefined symbol

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Undefined symbol

Andre Louw-2

Hi,

BlackVolTermStructure (documented as an abstract class) defines 3 virtual functions, timeDerivative,strikeDerivative,strikeSecondDerivative. On the SWIG side it is used as a class, which results in undefined symbols when importing QuantLib in Python!?

Any fixes, suggestions?

Thanx Andre
Reply | Threaded
Open this post in threaded view
|

Re: [Quantlib-dev] Undefined symbol

Luigi Ballabio-2
On 2004.02.03 08:09, Andre Louw wrote:
> BlackVolTermStructure (documented as an abstract class) defines 3
> virtual functions, timeDerivative,strikeDerivative,
> strikeSecondDerivative. On the SWIG side it is used as a class, which  
> results in undefined symbols when importing QuantLib in Python!?

Andre,
        BlackVolTermStructure no longer defines those functions---at  
least since version 0.3.4. Are you sure you're not including some old  
version you got lying around?

Later,
        Luigi