Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


I'm working on an AddIn to use on Calc ( source:
https://github.com/beothorn/ClojureCalc ) and I'm having a problem when
compilind an idl using idlc. This addin used to compile without problems on
an older libreoffice sdk (4.3 I think) but it upgraded to 5.0.2.2 together
with my ubuntu and now it doesn't compile anymore. The error message isn't
too helpful either because it points to a line that doesn't exist, or I am
interpreting the error message wrong.

Here's how I'm running idlc

/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

and the output

Compiling: 
/home/lucas/dev/clojurecalc/ClojureCalc/src/com/github/beothorn/clojurecalc/ClojureCalc.idl<command-line>:1
[62:62] : Statement can not be parsed: syntax error, unexpected
$undefined  /usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:80
[42:42] : Statement can not be parsed: definitions
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:94 [5:8]
: Statement can not be parsed: syntax error, unexpected IDL_VOID  (...
more 14 errors ...)  /usr/lib/libreoffice/sdk/bin/idlc.bin: detected
16 errors/usr/lib/libreoffice/sdk/bin/idlc.bin Version 1.1

but line 80 on /usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl
is a comment, so I don't know what is happening.

The idl in questtion is this
https://github.com/beothorn/ClojureCalc/blob/master/src/com/github/beothorn/clojurecalc/ClojureCalc.idl

I also have the same errors on this idl

https://github.com/beothorn/ClojureCalc/blob/master/src/com/github/beothorn/clojurecalc/XClojureCalc.idl

I don't know how to further investigate this error, or maybe the problem is
obvious and I'm not seeing it. I would like some pointer to how to keep
looking on what's happening, if possible.

Thanks

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.