<div dir="ltr"><div>To be sure i ran ./setsdkenv_unix --force-configure</div><div><br></div><div>My configurations:</div><div><br></div><div> ************************************************************************</div><div> *</div><div> * SDK environment is prepared for Linux</div><div> *</div><div> * SDK = /usr/lib/libreoffice/sdk</div><div> * Office = /usr/lib/libreoffice</div><div> * Make = /usr/bin</div><div> * Zip = /usr/bin</div><div> * cat = /bin</div><div> * sed = /bin</div><div> * C++ Compiler = /usr/bin</div><div> * Java = /home/lucas/Programs/jdk1.8.0_25</div><div> * SDK Output directory = /home/lucas/loOut/libreoffice5.0_sdk</div><div> * Auto deployment = YES</div><div> *</div><div> ************************************************************************</div><div><br></div><div>Still having the same compilation error.</div><div><br></div><div><div>➜  sdk  /usr/lib/libreoffice/sdk/bin/idlc -C -O /home/lucas/dev/clojurecalc/ClojureCalc/build/idl/urd -I /home/lucas/dev/clojurecalc/ClojureCalc/src -I /usr/lib/libreoffice/sdk/idl /home/lucas/dev/clojurecalc/ClojureCalc/src/com/github/beothorn/clojurecalc/ClojureCalc.idl</div><div>Compiling: /home/lucas/dev/clojurecalc/ClojureCalc/src/com/github/beothorn/clojurecalc/ClojureCalc.idl</div><div><command-line>:1 [62:62] : Statement can not be parsed: syntax error, unexpected $undefined</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:80 [42:42] : Statement can not be parsed: definitions</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:94 [5:8] : Statement can not be parsed: syntax error, unexpected IDL_VOID</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:94 [19:19] : Statement can not be parsed: definitions</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:100 [5:8] : Statement can not be parsed: syntax error, unexpected IDL_VOID</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:100 [19:19] : Statement can not be parsed: definitions</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:102 [1:1] : Statement can not be parsed: syntax error, unexpected '}', expecting $end</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:102 [2:2] : Statement can not be parsed: definitions</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [1:1] : Statement can not be parsed: syntax error, unexpected '}', expecting $end</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [2:2] : Statement can not be parsed: definitions</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [4:4] : Statement can not be parsed: syntax error, unexpected '}', expecting $end</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [5:5] : Statement can not be parsed: definitions</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [7:7] : Statement can not be parsed: syntax error, unexpected '}', expecting $end</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [8:8] : Statement can not be parsed: definitions</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [10:10] : Statement can not be parsed: syntax error, unexpected '}', expecting $end</div><div>/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [11:11] : Statement can not be parsed: definitions</div><div>/usr/lib/libreoffice/sdk/bin/idlc.bin: detected 16 errors/usr/lib/libreoffice/sdk/bin/idlc.bin Version 1.1</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 11:57 AM, lucass <span dir="ltr"><<a href="mailto:lucass@gmail.com" target="_blank">lucass@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">When using the ubuntu sdk I did do that, I setted the same cpp from which I copied the version output and the sdk from the libreoffice-dev package. <div>I'm not at my computer right now.</div><div>I saw that <span style="font-size:12.8px">setsdkenv_unix prints all setted values, </span><span style="font-size:12.8px">I'll recheck them later and send it here.</span></div><div><div><br></div></div><div>Thanks</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 11:16 AM, Stephan Bergmann <span dir="ltr"><<a href="mailto:sbergman@redhat.com" target="_blank">sbergman@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 11/10/2015 01:53 PM, lucass wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I downloaded the rpm file on the official site and extracted it (using<br>
the file compression tool that comes with ubuntu).<br>
I couldn't make idlc work, but I think it was because my own lack of<br>
experience.<br>
When running idlc it complained about not finding libreglo.so .<br>
</blockquote>
<br></span>
For one, you need to configure the LO SDK before using it, by running its setsdkenv_unix.sh, see <<a href="http://api.libreoffice.org/docs/install.html" rel="noreferrer" target="_blank">http://api.libreoffice.org/docs/install.html</a>>).  Did you do that?  If not, that is maybe also the reason why the Ubuntu-provided LO SDK does not work for you.<br>
<br>
For another, a LO SDK should always be used in combination with a matching LO installation.  It is unwise and unsupported to use a LO SDK downloaded from <a href="http://libreoffice.org" rel="noreferrer" target="_blank">libreoffice.org</a> together with a Ubuntu-provided LO installation.<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>