scalc UNO api compilation question about header files

Caolán McNamara caolanm at redhat.com
Thu Mar 7 01:34:55 PST 2013


On Wed, 2013-03-06 at 15:44 -0500, Neeraj Rai wrote:
> I am trying to build a scalc extension using UNO api on centos 6 .
> This previous built successfully on RHEL 6.

I imagine you built it originally against an older version of the sdk,
so the easiest thing is to rebuild it against the current sdk. You can
grab the prebuilt sdk from
http://download.documentfoundation.org/libreoffice/stable/4.0.0/rpm/x86_64/LibreOffice_4.0.0_Linux_x86-64_rpm_sdk.tar.gz

> It seems the header files are all over the place and I trying to
> figure out how to modify the Makefile to accommodate it.

> 1. how is the header XDesktop.hpp generated and should it be in the
> path pointed by any of the standard vars  (OO_SDK_HOME,
> (OO_SDK_URE_HOME, OO_SDK_OUT)

Easiest way to get the sdk out of your install is to let the packaging
step make it for you and then install that, e.g. add --enable-epm to the
configure line and a libreoffice-sdk-VERSION.rpm will be created in a
subdir under instsetoo_native and then install that rpm and point your
extension at that sdk

C.




More information about the LibreOffice mailing list