Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error #127

Open
tmory59 opened this issue Dec 21, 2022 · 1 comment
Open

Build Error #127

tmory59 opened this issue Dec 21, 2022 · 1 comment

Comments

@tmory59
Copy link

tmory59 commented Dec 21, 2022

Hi, I'm getting the below errors when I build in VS2022.

Severity Code Description Project File Line Suppression State
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments QuantExtTestSuite C:\ore\ORE-1.8.7\QuantExt\test\cpicapfloor.cpp 295
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file inflationvol.cpp) QuantExtTestSuite C:\boost\boost_1_81_0\boost\smart_ptr\make_shared_object.hpp 256
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments OREData C:\ore\ORE-1.8.7\OREData\ored\marketdata\inflationcapfloorvolcurve.cpp 402
Error LNK1104 cannot open file 'OREData-x64-mt.lib' OREDataTestSuite C:\ore\ORE-1.8.7\OREData\test\LINK 1
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file observationmode.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file testmarket.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file sensitivityanalysisanalytic.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file sensitivityperformance.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file stresstest.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file swapperformance.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file scenariosimmarket.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file sensitivityanalysis.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file scenariogenerator.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error C2661 'QuantLib::InterpolatedCPICapFloorTermPriceSurfaceQuantLib::Bilinear::InterpolatedCPICapFloorTermPriceSurface': no overloaded function takes 13 arguments (compiling source file simulationmeasures.cpp) OREAnalyticsTestSuite C:\ore\ORE-1.8.7\OREAnalytics\test\testmarket.hpp 98
Error MSB6006 "link.exe" exited with code 1104. ore C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 1096
Error LNK1104 cannot open file 'OREData-x64-mt.lib' ore C:\ore\ORE-1.8.7\App\LINK 1

@rkapl123
Copy link
Contributor

Hi, this looks like a typical error when the quantlib subproject doesn't fully match the ORE version.
Have you tried using the latest 1.8.9.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants