Re: C++ Macro example: DocumentLoader

2016-04-04 Thread aitor_czr
On 04/02/2016 06:19 PM, Rene Engelhard wrote: On Mon, Mar 21, 2016 at 01:56:42PM +0100, Stephan Bergmann wrote: >Smells like a bug in Debian's packaging of the LibreOffice SDK. The problem Not everything which goes wrong somewhere is a bug in a package. >is the > > -L"" > >in the gcc invo

Re: C++ Macro example: DocumentLoader

2016-04-02 Thread Rene Engelhard
On Mon, Mar 21, 2016 at 01:56:42PM +0100, Stephan Bergmann wrote: > Smells like a bug in Debian's packaging of the LibreOffice SDK. The problem Not everything which goes wrong somewhere is a bug in a package. > is the > > -L"" > > in the gcc invocation above. Per the SDK's settings/settings

Re: C++ Macro example: DocumentLoader

2016-03-21 Thread aitor_czr
On 03/21/16 13:56, Stephan Bergmann wrote: Smells like a bug in Debian's packaging of the LibreOffice SDK. The problem is the -L"" in the gcc invocation above. Per the SDK's settings/settings.mk, that's expanded from -L"$(OO_SDK_URE_LIB_DIR)" and OO_SDK_URE_LIB_DIR should be set as a

Re: C++ Macro example: DocumentLoader

2016-03-21 Thread Stephan Bergmann
On 03/19/2016 01:20 PM, aitor_czr wrote: I installed libreoffice-dev-doc (1:4.3.3-2-deb8u2) in debian jessie including all the macro examples, and ran the "/usr/lib/libreoffice/sdk/setsdkenv_unix.sh" script. Trying to build DocumentLoader, this is what i get: root@gnuinos:/usr/lib/libreoffice/s

Re: C++ Macro example: DocumentLoader

2016-03-19 Thread aitor_czr
Hi Stephan, On 02/01/2016 02:04 PM, Stephan Bergmann wrote: On 02/01/2016 12:24 PM, aitor_czr wrote: $ make DocumentLoader.run cd /usr/lib/libreoffice/sdk/LINUXexample.out/bin && DocumentLoader -env:URE_MORE_TYPES=file://"/types/offapi.rdb" "/usr/lib/libreoffice/sdk/test.odt" Error: cannot esta

Re: C++ Macro example: DocumentLoader

2016-02-01 Thread aitor_czr
Hi Stephan, On 02/01/2016 09:39 AM, Stephan Bergmann wrote: On 01/30/2016 01:42 PM, aitor_czr wrote: # make DocumentLoader.run cd /usr/lib/libreoffice/sdk/LINUXexample.out/bin && DocumentLoader -env:URE_MORE_TYPES=file://"/types/offapi.rdb" "/usr/lib/libreoffice/sdk/test.odt" /bin/sh: 1: Docume

Re: C++ Macro example: DocumentLoader

2016-02-01 Thread aitor_czr
Hi Stephan, On 02/01/2016 09:39 AM, Stephan Bergmann wrote: On 01/30/2016 01:42 PM, aitor_czr wrote: # make DocumentLoader.run cd /usr/lib/libreoffice/sdk/LINUXexample.out/bin && DocumentLoader -env:URE_MORE_TYPES=file://"/types/offapi.rdb" "/usr/lib/libreoffice/sdk/test.odt" /bin/sh: 1: Docume

Re: C++ Macro example: DocumentLoader

2016-02-01 Thread Stephan Bergmann
On 02/01/2016 12:24 PM, aitor_czr wrote: $ make DocumentLoader.run cd /usr/lib/libreoffice/sdk/LINUXexample.out/bin && DocumentLoader -env:URE_MORE_TYPES=file://"/types/offapi.rdb" "/usr/lib/libreoffice/sdk/test.odt" Error: cannot establish a connection using 'uno:socket,host=localhost,port=2083;

Re: C++ Macro example: DocumentLoader

2016-02-01 Thread Stephan Bergmann
On 01/30/2016 01:42 PM, aitor_czr wrote: # make DocumentLoader.run cd /usr/lib/libreoffice/sdk/LINUXexample.out/bin && DocumentLoader -env:URE_MORE_TYPES=file://"/types/offapi.rdb" "/usr/lib/libreoffice/sdk/test.odt" /bin/sh: 1: DocumentLoader: not found Makefile:101: recipe for target 'DocumentL

C++ Macro example: DocumentLoader

2016-01-30 Thread aitor_czr
Hi all, I trying to build the following C++ macro example. http://api.libreoffice.org/examples/cpp/DocumentLoader/ But i get the following error: # make The example loads the "test.odt" document in the DocumentLoa