http://quantlib.414.s1.nabble.com/Building-and-Installing-the-Libreoffice-Addin-tp17102p17120.html
I am very glad to hear that the build completed successfully.
I'm not sure that I can help you with the run time problem.
process.
> Thank you Eric, I have compiled it and the functions show up in
> Libreoffice 5.0
>
> However, I'm having an issue using the example spreadsheets.
>
> For example in InterestRateDerivatives.ods:
>
> It seems that QLSETTINGSEVALUATIONDATE() returns today's date
> regardless of what is inputted into QLSETTINGSSETEVALUATIONDATE()
>
> Regards,
>
> Ali
> ________________________________________
> From: Eric Ehlers <
[hidden email]>
> Sent: Tuesday, November 24, 2015 3:02 PM
> To: Ali Hassani
> Cc:
[hidden email]
> Subject: Re: [Quantlib-users] Building and Installing the Libreoffice
> Addin
>
> Hi Ali,
>
> > I tried following your instructions for version 1.6 and got the
> > following error:
> >
> > gcc -c -fpic -fvisibility=hidden -O -I.
> > -I/home/ali/libreoffice5.0_sdk/LINUXexample.out/inc
> > -I/home/ali/libreoffice5.0_sdk/LINUX example.out/inc/examples
> > -I/usr/lib/libreoffice/sdk/include
> > -I/home/ali/libreoffice5.0_sdk/LINUXexample.out/inc/CalcAddinCpp -I/
> > usr/lib -I/usr/lib -I/usr/lib -I/usr/lib -I -DUNX -DGCC -DLINUX
> > -DCPPU_ENV=gcc3 -DHAVE_GCC_VISIBILITY_FEATURE -o/home/ali/libreo
> > ffice5.0_sdk/LINUXexample.out/slo/CalcAddinCpp/qladdin.o qladdin.cpp
> > qladdin.cpp:180:5: error: expected initializer before ‘SAL_THROW’
> > SAL_THROW( () ) { ^ qladdin.cpp:185:7: error:
> > ‘create_CalcAddins_impl’ was not declared in this scope
>
> Please apply this patch to your copy of the source code:
>
>
https://github.com/eehlers/quantlib/commit/5854604095a026ebde81b5ac1f2b3517b2dfcf2c>
> > Thank you for your help. When you said this will be included in the
> > 1.7 release did you mean that these instructions will not work using
> > version 1.6?
>
> No, that is not what I meant. What I meant is that that documentation
> will be included in the 1.7 release, so that next time it will not be
> necessary to email us and ask for it :)
>
> Very little has changed between the 1.6 and 1.7 builds and those
> instructions apply to both. Version 1.6 was built against LibreOffice
> version 4.4. The error that you are getting occurs because you are
> building against LibreOffice version 5.0, hopefully the above patch
> will fix that.
>
> Also a correction was just made to the documentation, please reload
> the file from the same link that I gave you before:
>
>
https://github.com/eehlers/quantlib/blob/v1.7.x/QuantLibAddin/Addins/Calc/HOWTO.TXT>
> Kind Regards,
> Eric
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.