Hi
I would like to upgrade to VC12. As I've got rusty at solution management I was wondering: 1) is anyone else willing to perform it 2) if I do it, should I allow VC12 to upgrade from V9, V10, or VC11 solutions?
Incidentally, the test-suite in the current VC9 solution does not link, probably because of missing CPIBond, SwaptionVolCube1, and FixedRateBondHelper files in the QuantLib project. I cannot figure out quickly the missing files, any help appreciated, error attached belo
ciao -- Nando 2>------ Build started: Project: testsuite, Configuration: Release Win32 ------ 2>Linking... 2> Creating library .\bin\QuantLib-test-suite-vc90-mt.lib and object .\bin\QuantLib-test-suite-vc90-mt.exp
2>inflationcpibond.obj : error LNK2019: unresolved external symbol "public: __thiscall QuantLib::CPIBond::CPIBond(unsigned int,double,bool,double,class QuantLib::Period const &,class boost::shared_ptr<class QuantLib::ZeroInflationIndex> const &,enum QuantLib::CPI::InterpolationType,class QuantLib::Schedule const &,class std::vector<double,class std::allocator<double> > const &,class QuantLib::DayCounter const &,enum QuantLib::BusinessDayConvention,class QuantLib::Date const &)" (??0CPIBond@QuantLib@@QAE@IN_NNABVPeriod@1@ABV?$shared_ptr@VZeroInflationIndex@QuantLib@@@boost@@W4InterpolationType@CPI@1@ABVSchedule@1@ABV?$vector@NV?$allocator@N@std@@@std@@ABVDayCounter@1@W4BusinessDayConvention@1@ABVDate@1@@Z) referenced in function "public: static void __cdecl InflationCPIBondTest::testCleanPrice(void)" (?testCleanPrice@InflationCPIBondTest@@SAXXZ)
2>markovfunctional.obj : error LNK2019: unresolved external symbol "public: __thiscall QuantLib::SwaptionVolCube1::SwaptionVolCube1(class QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const &,class std::vector<class QuantLib::Period,class std::allocator<class QuantLib::Period> > const &,class std::vector<class QuantLib::Period,class std::allocator<class QuantLib::Period> > const &,class std::vector<double,class std::allocator<double> > const &,class std::vector<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > >,class std::allocator<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > > > > const &,class boost::shared_ptr<class QuantLib::SwapIndex> const &,class boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class std::vector<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > >,class std::allocator<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > > > > const &,class std::vector<bool,class std::allocator<bool> > const &,bool,class boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class boost::shared_ptr<class QuantLib::OptimizationMethod> const &,double,bool,unsigned int)" (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z) referenced in function "class QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> __cdecl `anonymous namespace'::md0SwaptionVts(void)" (?md0SwaptionVts@?A0xcaf0c29a@@YA?AV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@QuantLib@@XZ)
2>rangeaccrual.obj : error LNK2001: unresolved external symbol "public: __thiscall QuantLib::SwaptionVolCube1::SwaptionVolCube1(class QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const &,class std::vector<class QuantLib::Period,class std::allocator<class QuantLib::Period> > const &,class std::vector<class QuantLib::Period,class std::allocator<class QuantLib::Period> > const &,class std::vector<double,class std::allocator<double> > const &,class std::vector<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > >,class std::allocator<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > > > > const &,class boost::shared_ptr<class QuantLib::SwapIndex> const &,class boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class std::vector<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > >,class std::allocator<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > > > > const &,class std::vector<bool,class std::allocator<bool> > const &,bool,class boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class boost::shared_ptr<class QuantLib::OptimizationMethod> const &,double,bool,unsigned int)" (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z)
2>swaptionvolatilitycube.obj : error LNK2001: unresolved external symbol "public: __thiscall QuantLib::SwaptionVolCube1::SwaptionVolCube1(class QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const &,class std::vector<class QuantLib::Period,class std::allocator<class QuantLib::Period> > const &,class std::vector<class QuantLib::Period,class std::allocator<class QuantLib::Period> > const &,class std::vector<double,class std::allocator<double> > const &,class std::vector<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > >,class std::allocator<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > > > > const &,class boost::shared_ptr<class QuantLib::SwapIndex> const &,class boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class std::vector<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > >,class std::allocator<class std::vector<class QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class QuantLib::Quote> > > > > const &,class std::vector<bool,class std::allocator<bool> > const &,bool,class boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class boost::shared_ptr<class QuantLib::OptimizationMethod> const &,double,bool,unsigned int)" (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z)
2>piecewiseyieldcurve.obj : error LNK2019: unresolved external symbol "public: __thiscall QuantLib::FixedRateBondHelper::FixedRateBondHelper(class QuantLib::Handle<class QuantLib::Quote> const &,unsigned int,double,class QuantLib::Schedule const &,class std::vector<double,class std::allocator<double> > const &,class QuantLib::DayCounter const &,enum QuantLib::BusinessDayConvention,double,class QuantLib::Date const &)" (??0FixedRateBondHelper@QuantLib@@QAE@ABV?$Handle@VQuote@QuantLib@@@1@INABVSchedule@1@ABV?$vector@NV?$allocator@N@std@@@std@@ABVDayCounter@1@W4BusinessDayConvention@1@NABVDate@1@@Z) referenced in function "public: __thiscall `anonymous namespace'::CommonVars::CommonVars(void)" (??0CommonVars@?A0xdb80a3f2@@QAE@XZ)
2>.\bin\QuantLib-test-suite-vc90-mt.exe : fatal error LNK1120: 3 unresolved externals ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hi Nando,
I’ve done this upgrade from 1.4 a few weeks ago. As far as I can remember, quantlib core lib was not a big deal: I let MSVC to update the solution and added #elif (_MSC_VER == 1800) # define QL_LIB_TOOLSET “vc120" to the autolink.hpp file.Then I upgraded the name of the generated lib and paths and recompiled. In your case, it looks that the test suite links to the vc90 .lib, so I’d also fix linker's additional dependancies in the test suite. Precision: I’m using boost's trunk since boost serialization 1.55 still has compiling problems under VS 2013, but I’m not sure it really matters in this case. Best, Jean-Mathieu Vermosen On Jun 24, 2014, at 9:37 AM, Ferdinando M. Ametrano <[hidden email]> wrote:
------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
thank you Jean-Mathieu which solution did you use to start the automated VC12 conversion?
I did know about the boost 1.55 serialization issue, but I've read that it "can't compile because of a missing include", so I assumed it could have been an easy fix. Switching to boost's trunk is not feasible in my environment...
On Tue, Jun 24, 2014 at 4:32 PM, Jean-Mathieu Vermosen <[hidden email]> wrote:
------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
In reply to this post by Ferdinando M. Ametrano-2
Just 3 unresolved externals? Doesn't look like files are missing
(you'd have a lot more in that case). I think a few default parameters were added to the unresolved functions lately. Is it possible the test-suite files weren't recompiled and are still trying to link the previous version of the functions? Luigi On Tue, Jun 24, 2014 at 3:37 PM, Ferdinando M. Ametrano <[hidden email]> wrote: > Hi > > I would like to upgrade to VC12. As I've got rusty at solution management I > was wondering: > 1) is anyone else willing to perform it > 2) if I do it, should I allow VC12 to upgrade from V9, V10, or VC11 > solutions? > > Incidentally, the test-suite in the current VC9 solution does not link, > probably because of missing CPIBond, SwaptionVolCube1, and > FixedRateBondHelper files in the QuantLib project. I cannot figure out > quickly the missing files, any help appreciated, error attached belo > > ciao -- Nando > > 2>------ Build started: Project: testsuite, Configuration: Release Win32 > ------ > 2>Linking... > 2> Creating library .\bin\QuantLib-test-suite-vc90-mt.lib and object > .\bin\QuantLib-test-suite-vc90-mt.exp > 2>inflationcpibond.obj : error LNK2019: unresolved external symbol "public: > __thiscall QuantLib::CPIBond::CPIBond(unsigned int,double,bool,double,class > QuantLib::Period const &,class boost::shared_ptr<class > QuantLib::ZeroInflationIndex> const &,enum > QuantLib::CPI::InterpolationType,class QuantLib::Schedule const &,class > std::vector<double,class std::allocator<double> > const &,class > QuantLib::DayCounter const &,enum QuantLib::BusinessDayConvention,class > QuantLib::Date const &)" > (??0CPIBond@QuantLib@@QAE@IN_NNABVPeriod@1@ABV?$shared_ptr@VZeroInflationIndex@QuantLib@@@boost@@W4InterpolationType@CPI@1@ABVSchedule@1@ABV?$vector@NV?$allocator@N@std@@@std@@ABVDayCounter@1@W4BusinessDayConvention@1@ABVDate@1@@Z) > referenced in function "public: static void __cdecl > InflationCPIBondTest::testCleanPrice(void)" > (?testCleanPrice@InflationCPIBondTest@@SAXXZ) > 2>markovfunctional.obj : error LNK2019: unresolved external symbol "public: > __thiscall QuantLib::SwaptionVolCube1::SwaptionVolCube1(class > QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const &,class > std::vector<class QuantLib::Period,class std::allocator<class > QuantLib::Period> > const &,class std::vector<class QuantLib::Period,class > std::allocator<class QuantLib::Period> > const &,class > std::vector<double,class std::allocator<double> > const &,class > std::vector<class std::vector<class QuantLib::Handle<class > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > QuantLib::Quote> > >,class std::allocator<class std::vector<class > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > boost::shared_ptr<class QuantLib::SwapIndex> const &,class > boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class > std::vector<class std::vector<class QuantLib::Handle<class > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > QuantLib::Quote> > >,class std::allocator<class std::vector<class > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > std::vector<bool,class std::allocator<bool> > const &,bool,class > boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class > boost::shared_ptr<class QuantLib::OptimizationMethod> const > &,double,bool,unsigned int)" > (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z) > referenced in function "class QuantLib::Handle<class > QuantLib::SwaptionVolatilityStructure> __cdecl `anonymous > namespace'::md0SwaptionVts(void)" > (?md0SwaptionVts@?A0xcaf0c29a@@YA?AV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@QuantLib@@XZ) > 2>rangeaccrual.obj : error LNK2001: unresolved external symbol "public: > __thiscall QuantLib::SwaptionVolCube1::SwaptionVolCube1(class > QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const &,class > std::vector<class QuantLib::Period,class std::allocator<class > QuantLib::Period> > const &,class std::vector<class QuantLib::Period,class > std::allocator<class QuantLib::Period> > const &,class > std::vector<double,class std::allocator<double> > const &,class > std::vector<class std::vector<class QuantLib::Handle<class > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > QuantLib::Quote> > >,class std::allocator<class std::vector<class > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > boost::shared_ptr<class QuantLib::SwapIndex> const &,class > boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class > std::vector<class std::vector<class QuantLib::Handle<class > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > QuantLib::Quote> > >,class std::allocator<class std::vector<class > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > std::vector<bool,class std::allocator<bool> > const &,bool,class > boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class > boost::shared_ptr<class QuantLib::OptimizationMethod> const > &,double,bool,unsigned int)" > (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z) > 2>swaptionvolatilitycube.obj : error LNK2001: unresolved external symbol > "public: __thiscall QuantLib::SwaptionVolCube1::SwaptionVolCube1(class > QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const &,class > std::vector<class QuantLib::Period,class std::allocator<class > QuantLib::Period> > const &,class std::vector<class QuantLib::Period,class > std::allocator<class QuantLib::Period> > const &,class > std::vector<double,class std::allocator<double> > const &,class > std::vector<class std::vector<class QuantLib::Handle<class > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > QuantLib::Quote> > >,class std::allocator<class std::vector<class > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > boost::shared_ptr<class QuantLib::SwapIndex> const &,class > boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class > std::vector<class std::vector<class QuantLib::Handle<class > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > QuantLib::Quote> > >,class std::allocator<class std::vector<class > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > std::vector<bool,class std::allocator<bool> > const &,bool,class > boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class > boost::shared_ptr<class QuantLib::OptimizationMethod> const > &,double,bool,unsigned int)" > (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z) > 2>piecewiseyieldcurve.obj : error LNK2019: unresolved external symbol > "public: __thiscall QuantLib::FixedRateBondHelper::FixedRateBondHelper(class > QuantLib::Handle<class QuantLib::Quote> const &,unsigned int,double,class > QuantLib::Schedule const &,class std::vector<double,class > std::allocator<double> > const &,class QuantLib::DayCounter const &,enum > QuantLib::BusinessDayConvention,double,class QuantLib::Date const &)" > (??0FixedRateBondHelper@QuantLib@@QAE@ABV?$Handle@VQuote@QuantLib@@@1@INABVSchedule@1@ABV?$vector@NV?$allocator@N@std@@@std@@ABVDayCounter@1@W4BusinessDayConvention@1@NABVDate@1@@Z) > referenced in function "public: __thiscall `anonymous > namespace'::CommonVars::CommonVars(void)" > (??0CommonVars@?A0xdb80a3f2@@QAE@XZ) > 2>.\bin\QuantLib-test-suite-vc90-mt.exe : fatal error LNK1120: 3 unresolved > externals > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > QuantLib-dev mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > -- <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
In reply to this post by Ferdinando M. Ametrano-2
I’ve done the upgrade from the vc10 solution.
Once more, it’s very likely that the core library works well with the official release. Best, Jean-Mathieu Vermosen On Jun 24, 2014, at 10:39 AM, Ferdinando M. Ametrano <[hidden email]> wrote:
------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
In reply to this post by Luigi Ballabio
Hi all, it has to be that, I pulled what it was on your master five days ago and ran the test suite (release and debug static) I am on VC9.
Best pp ----- Original Message ----- > Just 3 unresolved externals? Doesn't look like files are missing > (you'd have a lot more in that case). > I think a few default parameters were added to the unresolved > functions lately. Is it possible the test-suite files weren't > recompiled and are still trying to link the previous version of the > functions? > > Luigi > > > On Tue, Jun 24, 2014 at 3:37 PM, Ferdinando M. Ametrano > <[hidden email]> wrote: > > Hi > > > > I would like to upgrade to VC12. As I've got rusty at solution > > management I > > was wondering: > > 1) is anyone else willing to perform it > > 2) if I do it, should I allow VC12 to upgrade from V9, V10, or VC11 > > solutions? > > > > Incidentally, the test-suite in the current VC9 solution does not > > link, > > probably because of missing CPIBond, SwaptionVolCube1, and > > FixedRateBondHelper files in the QuantLib project. I cannot figure > > out > > quickly the missing files, any help appreciated, error attached > > belo > > > > ciao -- Nando > > > > 2>------ Build started: Project: testsuite, Configuration: Release > > Win32 > > ------ > > 2>Linking... > > 2> Creating library .\bin\QuantLib-test-suite-vc90-mt.lib and > > object > > .\bin\QuantLib-test-suite-vc90-mt.exp > > 2>inflationcpibond.obj : error LNK2019: unresolved external symbol > > "public: > > __thiscall QuantLib::CPIBond::CPIBond(unsigned > > int,double,bool,double,class > > QuantLib::Period const &,class boost::shared_ptr<class > > QuantLib::ZeroInflationIndex> const &,enum > > QuantLib::CPI::InterpolationType,class QuantLib::Schedule const > > &,class > > std::vector<double,class std::allocator<double> > const &,class > > QuantLib::DayCounter const &,enum > > QuantLib::BusinessDayConvention,class > > QuantLib::Date const &)" > > (??0CPIBond@QuantLib@@QAE@IN_NNABVPeriod@1@ABV?$shared_ptr@VZeroInflationIndex@QuantLib@@@boost@@W4InterpolationType@CPI@1@ABVSchedule@1@ABV?$vector@NV?$allocator@N@std@@@std@@ABVDayCounter@1@W4BusinessDayConvention@1@ABVDate@1@@Z) > > referenced in function "public: static void __cdecl > > InflationCPIBondTest::testCleanPrice(void)" > > (?testCleanPrice@InflationCPIBondTest@@SAXXZ) > > 2>markovfunctional.obj : error LNK2019: unresolved external symbol > > "public: > > __thiscall QuantLib::SwaptionVolCube1::SwaptionVolCube1(class > > QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const > > &,class > > std::vector<class QuantLib::Period,class std::allocator<class > > QuantLib::Period> > const &,class std::vector<class > > QuantLib::Period,class > > std::allocator<class QuantLib::Period> > const &,class > > std::vector<double,class std::allocator<double> > const &,class > > std::vector<class std::vector<class QuantLib::Handle<class > > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > > QuantLib::Quote> > >,class std::allocator<class std::vector<class > > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > > boost::shared_ptr<class QuantLib::SwapIndex> const &,class > > boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class > > std::vector<class std::vector<class QuantLib::Handle<class > > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > > QuantLib::Quote> > >,class std::allocator<class std::vector<class > > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > > std::vector<bool,class std::allocator<bool> > const &,bool,class > > boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class > > boost::shared_ptr<class QuantLib::OptimizationMethod> const > > &,double,bool,unsigned int)" > > (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z) > > referenced in function "class QuantLib::Handle<class > > QuantLib::SwaptionVolatilityStructure> __cdecl `anonymous > > namespace'::md0SwaptionVts(void)" > > (?md0SwaptionVts@?A0xcaf0c29a@@YA?AV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@QuantLib@@XZ) > > 2>rangeaccrual.obj : error LNK2001: unresolved external symbol > > "public: > > __thiscall QuantLib::SwaptionVolCube1::SwaptionVolCube1(class > > QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const > > &,class > > std::vector<class QuantLib::Period,class std::allocator<class > > QuantLib::Period> > const &,class std::vector<class > > QuantLib::Period,class > > std::allocator<class QuantLib::Period> > const &,class > > std::vector<double,class std::allocator<double> > const &,class > > std::vector<class std::vector<class QuantLib::Handle<class > > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > > QuantLib::Quote> > >,class std::allocator<class std::vector<class > > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > > boost::shared_ptr<class QuantLib::SwapIndex> const &,class > > boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class > > std::vector<class std::vector<class QuantLib::Handle<class > > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > > QuantLib::Quote> > >,class std::allocator<class std::vector<class > > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > > std::vector<bool,class std::allocator<bool> > const &,bool,class > > boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class > > boost::shared_ptr<class QuantLib::OptimizationMethod> const > > &,double,bool,unsigned int)" > > (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z) > > 2>swaptionvolatilitycube.obj : error LNK2001: unresolved external > > symbol > > "public: __thiscall > > QuantLib::SwaptionVolCube1::SwaptionVolCube1(class > > QuantLib::Handle<class QuantLib::SwaptionVolatilityStructure> const > > &,class > > std::vector<class QuantLib::Period,class std::allocator<class > > QuantLib::Period> > const &,class std::vector<class > > QuantLib::Period,class > > std::allocator<class QuantLib::Period> > const &,class > > std::vector<double,class std::allocator<double> > const &,class > > std::vector<class std::vector<class QuantLib::Handle<class > > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > > QuantLib::Quote> > >,class std::allocator<class std::vector<class > > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > > boost::shared_ptr<class QuantLib::SwapIndex> const &,class > > boost::shared_ptr<class QuantLib::SwapIndex> const &,bool,class > > std::vector<class std::vector<class QuantLib::Handle<class > > QuantLib::Quote>,class std::allocator<class QuantLib::Handle<class > > QuantLib::Quote> > >,class std::allocator<class std::vector<class > > QuantLib::Handle<class QuantLib::Quote>,class std::allocator<class > > QuantLib::Handle<class QuantLib::Quote> > > > > const &,class > > std::vector<bool,class std::allocator<bool> > const &,bool,class > > boost::shared_ptr<class QuantLib::EndCriteria> const &,double,class > > boost::shared_ptr<class QuantLib::OptimizationMethod> const > > &,double,bool,unsigned int)" > > (??0SwaptionVolCube1@QuantLib@@QAE@ABV?$Handle@VSwaptionVolatilityStructure@QuantLib@@@1@ABV?$vector@VPeriod@QuantLib@@V?$allocator@VPeriod@QuantLib@@@std@@@std@@1ABV?$vector@NV?$allocator@N@std@@@4@ABV?$vector@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@V?$allocator@V?$vector@V?$Handle@VQuote@QuantLib@@@QuantLib@@V?$allocator@V?$Handle@VQuote@QuantLib@@@QuantLib@@@std@@@std@@@2@@4@ABV?$shared_ptr@VSwapIndex@QuantLib@@@boost@@4_N3ABV?$vector@_NV?$allocator@_N@std@@@4@5ABV?$shared_ptr@VEndCriteria@QuantLib@@@8@NABV?$shared_ptr@VOptimizationMethod@QuantLib@@@8@N_NI@Z) > > 2>piecewiseyieldcurve.obj : error LNK2019: unresolved external > > symbol > > "public: __thiscall > > QuantLib::FixedRateBondHelper::FixedRateBondHelper(class > > QuantLib::Handle<class QuantLib::Quote> const &,unsigned > > int,double,class > > QuantLib::Schedule const &,class std::vector<double,class > > std::allocator<double> > const &,class QuantLib::DayCounter const > > &,enum > > QuantLib::BusinessDayConvention,double,class QuantLib::Date const > > &)" > > (??0FixedRateBondHelper@QuantLib@@QAE@ABV?$Handle@VQuote@QuantLib@@@1@INABVSchedule@1@ABV?$vector@NV?$allocator@N@std@@@std@@ABVDayCounter@1@W4BusinessDayConvention@1@NABVDate@1@@Z) > > referenced in function "public: __thiscall `anonymous > > namespace'::CommonVars::CommonVars(void)" > > (??0CommonVars@?A0xdb80a3f2@@QAE@XZ) > > 2>.\bin\QuantLib-test-suite-vc90-mt.exe : fatal error LNK1120: 3 > > unresolved > > externals > > > > ------------------------------------------------------------------------------ > > Open source business process management suite built on Java and > > Eclipse > > Turn processes into business applications with Bonita BPM Community > > Edition > > Quickly connect people, data, and systems into organized workflows > > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > _______________________________________________ > > QuantLib-dev mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > > > > > -- > <https://implementingquantlib.blogspot.com> > <https://twitter.com/lballabio> > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and > Eclipse > Turn processes into business applications with Bonita BPM Community > Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > QuantLib-dev mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
you're right my fault, "rebuild all" fixed the issue. I was sure I did a rebuild all but that was not the case. thx On Tue, Jun 24, 2014 at 5:48 PM, <[hidden email]> wrote: Hi all, it has to be that, I pulled what it was on your master five days ago and ran the test suite (release and debug static) I am on VC9. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
In reply to this post by Ferdinando M. Ametrano-2
Quoting "Ferdinando M. Ametrano" <[hidden email]>:
> I would like to upgrade to VC12. As I've got rusty at solution management I > was wondering: > 1) is anyone else willing to perform it > 2) if I do it, should I allow VC12 to upgrade from V9, V10, or VC11 > solutions? My reply is late, but for future reference, I wrote a script to help with upgrading VC solutions. The file is ObjectHandler\dev_tools\upgrade_vc.py. To upgrade from VCaa to VCbb, it takes a bunch of VCaa files and creates from them copies in VCaa format with VCbb names. Then it does a find and replace on the new files and replaces all occurrences of VCaa with VCbb. After that you open the new files in VCbb and let VC automatically upgrade the format from VCaa to VCbb. The script saves you the trouble of renaming the solution/project files and of changing the version numbers of the outputs. Regards, Eric =================================================== Eric Ehlers nazcatech sprl | Brussels | http://www.nazcatech.be * Distributed computing for pricing analytics * Use Microsoft Excel as a client to the Grid ------------------------------------------------------------------------------ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Where can I find the ObjectHandler\dev_tools\upgrade_vc.py file? It is missing in ObjectHandler-1.4.0.zip...
On Thu, Aug 14, 2014 at 1:58 PM, Eric Ehlers <[hidden email]> wrote: The file is ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hello,
> Where can I find the ObjectHandler\dev_tools\upgrade_vc.py file? It is > missing in ObjectHandler-1.4.0.zip > <http://sourceforge.net/projects/quantlib/files/ObjectHandler/1.4.0/ObjectHandler-1.4.0.zip/download> That file is not packaged with the release. You will have to grab it from git. In my repo I have already run this upgrade, to generate VC12 files for ObjectHandler, QuantLibAddin, and QuantLibXL. But I have not yet pushed the relevant commit to my remote. Unfortunately I cannot do that for you right now because I am on the road. If you can wait a couple days, and if you are happy to work from a clone of my repo, then you can use the VC12 files that I have created. If you decide to do the upgrade yourself then let me know because this one did not go 100% automatic, there was a little bit of manual tinkering required. Kind Regards, Eric ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
P.S. The VC12 files are available on the remote repo of git user
maddazanzi. You can grab the relevant commit from there: https://github.com/maddazanzi/quantlib/commit/396c5e630adf9de0a4d67e793a7c35e601174ff3 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
In reply to this post by Eric Ehlers-3
Thank you. I'll try it out. Are you planning to include VC12 files in a 1.4 release of QuantLIb? Kind regards, Georgy On Wed, Dec 3, 2014 at 3:35 PM, Eric Ehlers <[hidden email]> wrote: Hello, ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hi Georgy,
On Tue, 9 Dec 2014 00:20:05 +0100 Georgy Dschikia <[hidden email]> wrote: > Thank you. I'll try it out. Are you planning to include VC12 files in > a 1.4 release of QuantLIb? What is your objective? The script upgrade_vc.py is what I use to upgrade VC files for the ObjectHandler, QuantLibAddin, and QuantLibXL projects. It would be possible to modify that script for use with other projects e.g. QuantLib. Are you looking for the VC12 files for QuantLib? For ObjectHandler / QuantLibAddin / QuantLibXL? Does it have to be the 1.4 release, would 1.5 be OK? The 1.4 releases of QL/OH/QLA/QLXL already shipped without VC12 files. If you wanted VC12 files for 1.4 you would probably need to create them yourself somehow. For the upcoming 1.5 release: - QuantLib: VC12 files are available on luigi (lballabio)'s git master - OH/QLA/QLXL: VC12 files are available on maddazanzi's git master and that will eventually be merged to my master (and to luigi's) for inclusion in 1.5. If you let us know exactly what you want I can better tell you where to find it. Kind Regards, Eric ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |