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


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@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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice




-- 
Jonathan Aquilina

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.