[Libreoffice] LO-SDK problem with Exception.hxx

Caolán McNamara caolanm at redhat.com
Fri Mar 4 03:18:42 PST 2011


On Fri, 2011-03-04 at 11:35 +0100, Sergey wrote:
> Hello,
> 
> I am trying to build my report generator with LibreOffice SDK and it
> fails because it can't find com/sun/star/uno/Exception.hxx

Exception.hxx or Exception.hpp ? I suspect that its Exception.hpp
because thats the #include in cppuhelper/bootstrap.hxx

IIRC you're supposed to generate that .hpp (and the others) from
the .idl, i.e. you should have a com/sun/star/uno/Exception.idl
somewhere or other and cppumaker on the correct .rdb file generates them
in your own build dir.

You can see an example in e.g. voikko or openoffice.org-diafilter

Taking diafilter, (https://fedorahosted.org/openoffice.org-diafilter/)
see the Makefile line 134
https://fedorahosted.org/openoffice.org-diafilter/browser/Makefile#L134
That generates a pile of .hpp files at build time, and one of them is
the required Exception.hpp e.g. one of the output files is
build/hpp/com/sun/star/uno/Exception.hpp

C.



More information about the LibreOffice mailing list