Login  Register

Re: Error C2664 when compiling QuantLibObjects

Posted by Luigi Ballabio on May 19, 2014; 3:15pm
URL: http://quantlib.414.s1.nabble.com/Error-C2664-when-compiling-QuantLibObjects-tp15283p15288.html

Sure, but I don't have a PR yet. Peter, did you make a pull request to
Eric instead? If so, I'll pull from him one he's accepted it.

Luigi

On Thu, May 15, 2014 at 8:40 PM, Francois Botha <[hidden email]> wrote:

> Thanks. I fetched those commits and it fixed my compilation problem. Luigi,
> can you perhaps accept the PR?
>
> Francois
>
> On 14 May 2014 7:10 PM, "Peter Caspers" <[hidden email]> wrote:
>>
>> 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
>



--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
"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