C++ Macro example: DocumentLoader

aitor_czr aitor_czr at gnuinos.org
Sat Jan 30 04:42:41 PST 2016

Hi all,

I trying to build the following C++ macro example.


But i get the following error:

# make
The example loads the "test.odt" document in the DocumentLoader example 
If you want to load your own document, please use:
"filename" [connection_url]
Use the following command to execute the example!
make DocumentLoader.run
NOTE: This example does not use the new UNO bootstrap mechanism, it uses 
still a socket
       connection. The example use the 
defaultBootstrap_InitialComponentContext method and provides
       the additional office types via the UNO environment variable 
       Before you can run this example you have to start your office in 
listening mode.

# make DocumentLoader.run
cd /usr/lib/libreoffice/sdk/LINUXexample.out/bin && DocumentLoader 
/bin/sh: 1: DocumentLoader: not found
Makefile:101: recipe for target 'DocumentLoader.run' failed
make: *** [DocumentLoader.run] Error 127

Any hints?

Thanks in advance,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20160130/d1d27587/attachment.html>

More information about the LibreOffice mailing list