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: DocumentLoader: not found
Makefile:101: recipe for target 'DocumentLoader.run' failed
make: *** [DocumentLoader.run] Error 127
You probably did not (re-)run the setsdkenv_unix script
(<http://api.libreoffice.org/docs/install.html>)? It drops you into a
sub-shell where "." is on PATH.
I built the DocumentLoader example succesfully, but running it this is
what i get:
$ 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;urp;StarOffice.ServiceManager':
Connector : couldn't connect to socket (Success)
Makefile:101: recipe for target 'DocumentLoader.run' failed
make: *** [DocumentLoader.run] Error 1
I tried doing:
$/usr/lib/libreoffice/program/soffice
"--accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager" &
before running the application, but it doesn't work.
Cheers,
Aitor.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.