OpenSourceRisk / ORE-SWIG

Other
49 stars 46 forks source link

Issue when building SWIG #10

Closed laurent101 closed 4 years ago

laurent101 commented 4 years ago

Hi, I've run into the following issue when building ORE SWIG

The build process in Linux fails with the following error:

/quant/QLibs/ORE1080500/QuantExt/qle/termstructures/kinterpolatedyoyoptionletvolatilitysurface.hpp:118:56: error: cannot convert 'const boost::shared_ptr to 'const boost::shared_ptr&' 118 yoyOptionletStripper->initialize(capFloorPrices, yoyInflationCouponPricer, slope); ^~~~~~~~~
const boost::shared_ptr

In file included from /quant/QLibs/ORE1080500/QuantLib/ql/experimental/inflation/interpolatedyoyoptionletstripper.hpp:30, from /quant/QLibs/ORE1080500/QuantLib/ql/experimental/inflation/all.hpp:7,

This is however not a problem when building ORE Engine.

Any thoughts?

Thanks for your assistance.

farahkhashman commented 2 years ago

hello, what was your fix for this issue?