http://quantlib.414.s1.nabble.com/QuantlibAddin-on-Linux-Ubuntu-16-tp17447p17451.html
that problem rings the bell.
Can you search the archives? There are post last summer from Lars explaining some changes. Also you can have a look at this branch file? it might help; its a manually made Makefile which used to work with me but I remember having problems with some functions;
>
>
>
> Thanks Pepe,
>
>
> I actually found a HOWTO.TXT file in the subdirectory Addins/Calc.
>
>
> I followed all the instructions and tried to build the addin with:
> make -f Makefile.oo but the compilation stops with the error:
>
>
>
>
>
> qladdin.cpp: In function
> ‘com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
> create_CalcAddins_impl(const
> com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&)’:
> qladdin.cpp:182:55: error: invalid new-expression of abstract class
> type ‘CalcAddins_impl’
> return static_cast< ::cppu::OWeakObject * > ( new CalcAddins_impl );
> ^
> In file included from qladdin.cpp:21:0:
> ./qladdin.hpp:79:7: note: because the following virtual functions are
> pure within ‘CalcAddins_impl’:
> class CalcAddins_impl
> ^
> In file included from
> /home/faycal/libreoffice5.1_sdk/LINUXexample.out/inc/CalcAddinCpp/quantlib/XCalcAddins.hpp:8:0,
> from ./qladdin.hpp:57,
> from qladdin.cpp:21:
> /home/faycal/libreoffice5.1_sdk/LINUXexample.out/inc/CalcAddinCpp/quantlib/XCalcAddins.hdl:100:86:
> note: virtual
> com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::uno::Any>
> > quantlib::XCalcAddins::qlModelG2Calibrate(const
> com::sun::star::uno::Any&, const
> com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::uno::Any>
> >&, const com::sun::star::uno::Any&, const
> com::sun::star::uno::Any&, const com::sun::star::uno::Any&, const
> com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::uno::Any>
> >&, const
> com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<int> >&,
> const com::sun::star::uno::Any&)
> virtual ::css::uno::Sequence< ::css::uno::Sequence< ::css::uno::Any >
> > SAL_CALL qlModelG2Calibrate( const ::css::uno::Any& ObjectId,
> const ::css::uno::Sequence< ::css::uno::Sequence< ::css::uno::Any >
> >& CalibrationHelpers, c
> ^
> In file included from
> /home/faycal/libreoffice5.1_sdk/LINUXexample.out/inc/CalcAddinCpp/quantlib/XCalcAddins.hpp:8:0,
> from ./qladdin.hpp:57,
> from qladdin.cpp:21:
> /home/faycal/libreoffice5.1_sdk/LINUXexample.out/inc/CalcAddinCpp/quantlib/XCalcAddins.hdl:101:86:
> note: virtual
> com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::uno::Any>
> > quantlib::XCalcAddins::qlOneFactorAffineModelCalibrate(const
> com::sun::star::uno::Any&, const
> com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::uno::Any>
> >&, const com::sun::star::uno::Any&, const
> com::sun::star::uno::Any&, const com::sun::star::uno::Any&, const
> com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<com::sun::star::uno::Any>
> >&, const
> com::sun::star::uno::Sequence<com::sun::star::uno::Sequence<int> >&,
> const com::sun::star::uno::Any&)
> virtual ::css::uno::Sequence< ::css::uno::Sequence< ::css::uno::Any >
> > SAL_CALL qlOneFactorAffineModelCalibrate( const ::css::uno::Any&
> ObjectId, const ::css::uno::Sequence< ::css::uno::Sequence<
> ::css::uno::Any > >& Calibrat
> ^
> Makefile.oo:226: recipe for target
> '/home/faycal/libreoffice5.1_sdk/LINUXexample.out/slo/CalcAddinCpp/qladdin.o'
> failed
>
>
> So I am blocked at this stage, it seems that there is a problem in
> the implementation...If you have any clue, please let me know.
>
>
> Thanks for your help,
> Faycal
>
>
>
>
>
>
> On Wed, May 11, 2016 at 5:19 PM, <
[hidden email] > wrote:
>
>
> Hi,
> Not sure this is going to help since I just had a look at my old code
> here and I dont have a clean add in repo right now.
>
> Give it a shot;
> -> check you have the line generating the rdb, something like
>
> /usr/lib/libreoffice/ure-link/bin/regmerge QuantLibAddinCalc.rdb /UCR
> QuantLibAddinCalc.urd
>
> -> Check theres a install line to add the lib to libreoffice; this
> should make libreoffice aware of it
>
> install: QLCalcAddin.oxt
> ${OFFICE_PROGRAM_PATH}/unopkg add -f QLCalcAddin.oxt
>
> This is from my own twisted Makefile, adapt it to your needs or run
> these manually.
>
> I understand things have changed in the addin so this might all be
> obsolete.
>
> Best
> Pepe
>
>
>
>
> ----- Original Message -----
> >
> >
> >
> > Dear All,
> >
> >
> > I am trying to install and configure QuantLibAddIn 1.7.0 on my 2
> > desktop PC running Ubuntu 16.04
> >
> >
> > The installation went fine, compiled and installed all dependencies
> > (gensrc, log4cxx, ObjectHandler) then QuantLibAddin-1.7.0.
> >
> >
> > I did not get any errors, as far as I can tell, I can see all my
> > libraries installed in /usr/local/lib:
> >
> >
> >
> > -rwxr-xr-x 1 root root 14419272 May 11 12:27 liblog4cxx.so.10.0.0
> > lrwxrwxrwx 1 root root 20 May 11 12:27 liblog4cxx.so.10 ->
> > liblog4cxx.so.10.0.0
> > lrwxrwxrwx 1 root root 20 May 11 12:27 liblog4cxx.so ->
> > liblog4cxx.so.10.0.0
> > -rwxr-xr-x 1 root root 1047 May 11 12:27 liblog4cxx.la
> > -rw-r--r-- 1 root root 39867920 May 11 12:27 liblog4cxx.a
> > drwxr-xr-x 2 root root 4096 May 11 12:27 pkgconfig
> > -rwxr-xr-x 1 root root 4870496 May 11 12:28
> > libObjectHandler-1.7.0.so
> > lrwxrwxrwx 1 root root 25 May 11 12:28 libObjectHandler.so ->
> > libObjectHandler-1.7.0.so
> > -rwxr-xr-x 1 root root 1185 May 11 12:28 libObjectHandler.la
> > -rw-r--r-- 1 root root 11958994 May 11 12:28 libObjectHandler.a
> > -rwxr-xr-x 1 root root 301144360 May 11 13:53
> > libQuantLibAddin.so.0.0.0
> > lrwxrwxrwx 1 root root 25 May 11 13:53 libQuantLibAddin.so.0 ->
> > libQuantLibAddin.so.0.0.0
> > lrwxrwxrwx 1 root root 25 May 11 13:53 libQuantLibAddin.so ->
> > libQuantLibAddin.so.0.0.0
> > -rwxr-xr-x 1 root root 1257 May 11 13:53 libQuantLibAddin.la
> > -rw-r--r-- 1 root root 1021322296 May 11 13:53 libQuantLibAddin.a
> >
> >
> > Now the last step that is missing is to change the unorc config
> > file
> > for libreoffice, as indicated in QuantlibAddin tutorials:
> >
> >
> > One further step is required, the name of the registry database
> > must
> > be added to an OOo ini file in order to inform OOo of the location
> > of the Addin. This step is not automated by the build process and
> > must be performed manually:
> >
> > * Go to the OOo program directory
> > * In a text editor, open the unorc file ( unorc on Linux,
> > unorc.ini on Windows)
> > * On the line for UNO_SERVICES, append the text
> > ORIGIN/QuantLibAddinCalc-vc71-mt-1_7_0.rdb
> > * On the line for UNO_TYPES, append the text
> > $ORIGIN/QuantLibAddinCalc-vc71-mt-1_7_0.rdb
> >
> >
> >
> > Once everything is in place, launch OOo Calc and hit Ctrl-F2 to
> > bring
> > up the list of available functions, if all has gone well the
> > QuantLibAddin functions should appear.
> >
> > My problem is that I can't find any rdb file anywhere generated by
> > the QuantlibAddin make or install. I've made a search from my /usr
> > directory and the only rdb files are in libreoffice programs
> > directory:
> >
> > ./lib/libreoffice/program/types.rdb
> > ./lib/libreoffice/program/services.rdb
> > ./lib/libreoffice/program/types/oovbaapi.rdb
> > ./lib/libreoffice/program/types/offapi.rdb
> > ./lib/libreoffice/program/services/services.rdb
> > ./lib/libreoffice/program/services/pyuno.rdb
> > Am I missing something here? What do I have to do to add the addin
> > in
> > libreoffice?
> >
> >
> > Any help appreciated!
> >
> >
> > Thanks for your support,
> > Fayce
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Mobile security can be enabling, not merely restricting. Employees
> > who
> > bring their own devices (BYOD) to work are irked by the imposition
> > of
> > MDM
> > restrictions. Mobile Device Manager Plus allows you to control only
> > the
> > apps on BYO-devices by containerizing them, leaving personal data
> > untouched!
> >
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j> > _______________________________________________
> > QuantLib-users mailing list
> >
[hidden email]
> >
https://lists.sourceforge.net/lists/listinfo/quantlib-users> >
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees
> who
> bring their own devices (BYOD) to work are irked by the imposition of
> MDM
> restrictions. Mobile Device Manager Plus allows you to control only
> the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
>
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j> _______________________________________________
> QuantLib-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/quantlib-users>
Mobile security can be enabling, not merely restricting. Employees who
restrictions. Mobile Device Manager Plus allows you to control only the