Help compiling an idl for an Add-in

lucass lucass at
Sat Nov 7 05:45:37 PST 2015

I'm working on an AddIn to use on Calc ( source: ) 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 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

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

I also have the same errors on this 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the LibreOffice mailing list