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


Ok, sorry, I forget I have to generate headers, now it compiles fine.
Thanks!

On Fri, 2011-03-04 at 11:18 +0000, Caolán McNamara 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.




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.