<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="monospace">Hi Stephan,<br>
<br>
</font>
<div class="moz-cite-prefix"><font face="monospace">On 02/01/2016
09:39 AM, Stephan Bergmann wrote:<br>
</font></div>
<blockquote cite="mid:56AF19BC.3070807@redhat.com" type="cite"><font
face="monospace">On 01/30/2016 01:42 PM, aitor_czr wrote:
<br>
</font>
<blockquote type="cite" style="color: #000000;"><font
face="monospace"># make DocumentLoader.run
<br>
cd /usr/lib/libreoffice/sdk/LINUXexample.out/bin &&
DocumentLoader
<br>
-env:URE_MORE_TYPES=<a moz-do-not-send="true"
class="moz-txt-link-freetext" href="file://">file://</a>"/types/offapi.rdb"
<br>
"/usr/lib/libreoffice/sdk/test.odt"
<br>
/bin/sh: 1: DocumentLoader: not found
<br>
Makefile:101: recipe for target 'DocumentLoader.run' failed
<br>
make: *** [DocumentLoader.run] Error 127
<br>
</font></blockquote>
<font face="monospace"><br>
You probably did not (re-)run the setsdkenv_unix script (<a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://api.libreoffice.org/docs/install.html"><http://api.libreoffice.org/docs/install.html></a>)?
It drops you into a sub-shell where "." is on PATH.</font></blockquote>
<font face="monospace"><br>
I built the DocumentLoader example succesfully, but running it
this is what i get:<br>
<br>
$ make DocumentLoader.run<br>
cd /usr/lib/libreoffice/sdk/LINUXexample.out/bin &&
DocumentLoader -env:URE_MORE_TYPES=<a class="moz-txt-link-freetext" href="file://">file://</a>"/types/offapi.rdb"
"/usr/lib/libreoffice/sdk/test.odt"<br>
Error: cannot establish a connection using
'uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager':<br>
Connector : couldn't connect to socket (Success)<br>
Makefile:101: recipe for target 'DocumentLoader.run' failed<br>
make: *** [DocumentLoader.run] Error 1<br>
<br>
I tried doing:<br>
<br>
$/usr/lib/libreoffice/program/soffice
"--accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager"
&<br>
<br>
before running the application, but it doesn't work.<br>
<br>
Cheers,<br>
<br>
Aitor.</font><br>
<br>
</body>
</html>