Login  Register

Re: Error C2664 when compiling QuantLibObjects

Posted by Peter Caspers-4 on May 14, 2014; 5:10pm
URL: http://quantlib.414.s1.nabble.com/Error-C2664-when-compiling-QuantLibObjects-tp15283p15284.html

Hi,

I think I introduced this problem. The fixes should be here

https://github.com/pcaspers/quantlib/commit/2c4cd34bdbf3a514ffff121f085938be29197b83
https://github.com/pcaspers/quantlib/commit/384595ec875734c69a8747add6a42125d74e4928

However these are not yet merged in Luigi's master.

Thank you
Peter


On 14 May 2014 17:25, Francois Botha <[hidden email]> wrote:

> Hi all,
>
> I'm trying to compile QuantLibXL from the git source. I'm doing a full
> build, which includes the gensrc parts.
>
> The compilation fails with the following error:
>
> error C2664: 'QuantLib::CmsMarket::CmsMarket(const std::vector<_Ty> &,const
> std::vector<boost::shared_ptr<T>> &,const
> boost::shared_ptr<QuantLib::IborIndex> &,const
> std::vector<std::vector<QuantLib::Handle<QuantLib::Quote>>> &,const
> std::vector<boost::shared_ptr<QuantLib::CmsCouponPricer>> &,const
> QuantLib::Handle<QuantLib::YieldTermStructure> &)' : cannot convert
> parameter 5 from 'std::vector<_Ty>' to 'const std::vector<_Ty> &'
> C:\dev\quantlib\QuantLibAddin\qlo\cmsmarket.cpp
>
> Is this a known issue or how do I resolve this?
>
> thanks
> Francois Botha
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev