Posted by
cheng li on
Mar 28, 2016; 12:41pm
URL: http://quantlib.414.s1.nabble.com/Adding-new-function-to-Quantlibxl-by-reposit-tp17355p17367.html
Hi Eric,
I just follow all the steps with that section. So the only change I made is
the 2 adding lines in the file swig/functions/indexes.i
public:
std::string name() const;
within in the definition of InterestRateIndex. So do I need to change
anything else? Thanks.
Regards,
Cheng
-----邮件原件-----
发件人: Eric Ehlers [mailto:
[hidden email]]
发送时间: 2016年3月27日 19:30
收件人: cheng li <
[hidden email]>
抄送:
[hidden email]
主题: Re: [Quantlib-users] Adding new function to Quantlibxl by reposit
Hi Cheng,
Sorry for the delay in responding. I would be grateful if you could please
clone my repos and do your build as explained here:
http://quantlib.org/reposit/docs/latest/build_git_swig_windows.html(You have probably already done this).
Then please push your changes to your remote git repo and send me a pull
request. I will pull your changes and try to get them working.
I have a feeling it is a very simple fix - adding one line to register a
type - but it will be quicker for me if I can see the build.
Kind Regards,
Eric
On Mon, 21 Mar 2016 11:07:01 +0800
"cheng li" <
[hidden email]> wrote:
> Hi team,
>
> I follow the steps to build the quantllibxl using reposit. The build
> is fine. But when I want to add new function (follow the section 11 in
> the instruction), it fails with following error message
>
> Error 1 error C2039: 'name' : is not a member of
> 'QuantLibAddin::InterestRateIndex'
> d:\GitHub\chinaquants\QuantLibXL\qlxl\functions\function_indexes.cpp
> 123 QuantLibXLStatic
>
> It seems that InterestRateIndex class in QuantlibObjects doesn't
> reflect the change automatically. Should I add it mannually or is it a
> bug? Thanks.
>
> Regards,
>
> Cheng
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users