Open rightyang opened 2 years ago
While building oreanalyticsPYTHON_wrap.cxx.o, or we should change the ORE code by myself?
[ 66%] Building CXX object CMakeFiles/_OREAnalytics.dir/CMakeFiles/_OREAnalytics.dir/oreanalyticsPYTHON_wrap.cxx.o ..................... In file included from $MYHOME/ore/QuantExt/qle/quantext.hpp:328, from $MYHOME/oreswig/build/CMakeFiles/_OREAnalytics.dir/oreanalyticsPYTHON_wrap.cxx:17372: $MYHOME/ore/QuantExt/qle/termstructures/kinterpolatedyoyoptionletvolatilitysurface.hpp: In member function virtual void QuantExt::KInterpolatedYoYOptionletVolatilitySurface<Interpolator1D>::performCalculations() const’: $MYHOME/ore/QuantExt/qle/termstructures/kinterpolatedyoyoptionletvolatilitysurface.hpp:148:43: error: cannot convert ‘const boost::shared_ptr<QuantExt::YoYInflationCapFloorEngine>’ to ‘const boost::shared_ptr<QuantLib::YoYInflationCapFloorEngine>&’ 148 | yoyInflationCouponPricer_, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | const boost::shared_ptr<QuantExt::YoYInflationCapFloorEngine> ....................... make[2]: *** [CMakeFiles/_OREAnalytics.dir/build.make:63: CMakeFiles/_OREAnalytics.dir/CMakeFiles/_OREAnalytics.dir/oreanalyticsPYTHON_wrap.cxx.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/_OREAnalytics.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
While building oreanalyticsPYTHON_wrap.cxx.o, or we should change the ORE code by myself?