Login  Register

Re: Building and Installing the Libreoffice Addin

Posted by Ali Hassani-2 on Nov 24, 2015; 3:51am
URL: http://quantlib.414.s1.nabble.com/Building-and-Installing-the-Libreoffice-Addin-tp17102p17114.html

Hello Eric,

 

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?

 

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
    { create_CalcAddins_impl, getImplementationName_CalcAddins_impl,
      ^
qladdin.cpp: In function ‘void component_getImplementationEnvironment(const sal_Char**, uno_Environment**)’:
qladdin.cpp:196:20: error: CPPU_CURRENT_LANGUAGE_BINDING_NAME’ was not declared in this scope
  *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
                   ^
Makefile.oo:226: recipe for target '/home/ali/libreoffice5.0_sdk/LINUXexample.out/slo/CalcAddinCpp/qladdin.o' failed
make: *** [/home/ali/libreoffice5.0_sdk/LINUXexample.out/slo/CalcAddinCpp/qladdin.o] Error 1

Regards,

 

Ali

 

On Monday, November 23, 2015 10:35:33 AM Eric Ehlers wrote:

> Hi Ali,

>

> Some additional documentation for the build has been provided, here is

> the link:

>

> https://github.com/eehlers/quantlib/blob/v1.7.x/QuantLibAddin/Addins/Calc/HO

> WTO.TXT

>

> This will be included in the 1.7 release.

>

> Kind Regards,

> Eric

>

> On Sat, 21 Nov 2015 19:18:56 +0200

>

> Eric Ehlers <[hidden email]> wrote:

> > Hi Ali,

> >

> > As it mentions at that page, the documentation there is for an old

> > build. A new build was provided in the 1.6 release and that has not

> > yet been documented. I will ping the author to ask if he can help.

> > In the meantime I suggest you download the 1.6 release files (if you

> > have not already), I would think it should be possible to work out

> > the build by looking at the make files...

> >

> > Kind Regards,

> > Eric

> >

> > On Fri, 20 Nov 2015 08:13:31 +0000

> >

> > Ali Hassani <[hidden email]> wrote:

> > > Hello,

> > >

> > > I am trying to build and install the Quantlib Addin for Libreoffice

> > > according to:

> > > http://quantlib.org/quantlibaddin/build_calc.html

> > >

> > > Any help in using idlc, regmerge, cppumaker, compiling and

> > > installing would be very much appreciated.

> > >

> > > Regards,

> > >

> > > Ali Hassani

> >

> > --------------------------------------------------------------------------

> > ---- _______________________________________________

> > QuantLib-users mailing list

> > [hidden email]

> > https://lists.sourceforge.net/lists/listinfo/quantlib-users

 

--

Ali Hassani

Advisor to the CEO

Public Markets, Portfolio Management, and Risk

National Investment Corporation of National Bank of Kazakhstan

Office: +7 727 244 9407 | Mobile: +7 700 521 9312 | Email: [hidden email]

181 Kunayev street | Almaty | 050010 | Kazakhstan


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
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.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users