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


To be sure i ran ./setsdkenv_unix --force-configure

My configurations:

 ************************************************************************
 *
 * SDK environment is prepared for Linux
 *
 * SDK = /usr/lib/libreoffice/sdk
 * Office = /usr/lib/libreoffice
 * Make = /usr/bin
 * Zip = /usr/bin
 * cat = /bin
 * sed = /bin
 * C++ Compiler = /usr/bin
 * Java = /home/lucas/Programs/jdk1.8.0_25
 * SDK Output directory = /home/lucas/loOut/libreoffice5.0_sdk
 * Auto deployment = YES
 *
 ************************************************************************

Still having the same compilation error.

➜  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
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
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:94 [19:19] :
Statement can not be parsed: definitions
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:100 [5:8] :
Statement can not be parsed: syntax error, unexpected IDL_VOID
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:100 [19:19] :
Statement can not be parsed: definitions
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:102 [1:1] :
Statement can not be parsed: syntax error, unexpected '}', expecting $end
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:102 [2:2] :
Statement can not be parsed: definitions
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [1:1] :
Statement can not be parsed: syntax error, unexpected '}', expecting $end
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [2:2] :
Statement can not be parsed: definitions
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [4:4] :
Statement can not be parsed: syntax error, unexpected '}', expecting $end
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [5:5] :
Statement can not be parsed: definitions
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [7:7] :
Statement can not be parsed: syntax error, unexpected '}', expecting $end
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [8:8] :
Statement can not be parsed: definitions
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [10:10] :
Statement can not be parsed: syntax error, unexpected '}', expecting $end
/usr/lib/libreoffice/sdk/idl/com/sun/star/uno/XInterface.idl:105 [11:11] :
Statement can not be parsed: definitions
/usr/lib/libreoffice/sdk/bin/idlc.bin: detected 16
errors/usr/lib/libreoffice/sdk/bin/idlc.bin Version 1.1


On Tue, Nov 10, 2015 at 11:57 AM, lucass <lucass@gmail.com> wrote:

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.
I'm not at my computer right now.
I saw that setsdkenv_unix prints all setted values, I'll recheck them
later and send it here.

Thanks

On Tue, Nov 10, 2015 at 11:16 AM, Stephan Bergmann <sbergman@redhat.com>
wrote:

On 11/10/2015 01:53 PM, lucass wrote:

I downloaded the rpm file on the official site and extracted it (using
the file compression tool that comes with ubuntu).
I couldn't make idlc work, but I think it was because my own lack of
experience.
When running idlc it complained about not finding libreglo.so .


For one, you need to configure the LO SDK before using it, by running its
setsdkenv_unix.sh, see <http://api.libreoffice.org/docs/install.html>).
Did you do that?  If not, that is maybe also the reason why the
Ubuntu-provided LO SDK does not work for you.

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 libreoffice.org together with a Ubuntu-provided LO
installation.




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.