Skip to content

Building ORE-SWIG failed in Ubuntu 20.04 #18

Description

@rightyang

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions