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-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-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/

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/s

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/s

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