[Libreoffice] LO-SDK problem with Exception.hxx

Jonathan Aquilina eagles051387 at gmail.com
Fri Mar 4 03:19:42 PST 2011


I know not to long ago Caolan there were issues with trying to compile with
gcc 4.5 is that still the case?

On Fri, Mar 4, 2011 at 12:18 PM, Caolán McNamara <caolanm at redhat.com> wrote:

> 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.
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>



-- 
Jonathan Aquilina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110304/da257e39/attachment.html>


More information about the LibreOffice mailing list