I know not to long ago Caolan there were issues with trying to compile with gcc 4.5 is that still the case?<br><br><div class="gmail_quote">On Fri, Mar 4, 2011 at 12:18 PM, Caolán McNamara <span dir="ltr"><<a href="mailto:caolanm@redhat.com">caolanm@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, 2011-03-04 at 11:35 +0100, Sergey wrote:<br>
> Hello,<br>
><br>
> I am trying to build my report generator with LibreOffice SDK and it<br>
> fails because it can't find com/sun/star/uno/Exception.hxx<br>
<br>
</div>Exception.hxx or Exception.hpp ? I suspect that its Exception.hpp<br>
because thats the #include in cppuhelper/bootstrap.hxx<br>
<br>
IIRC you're supposed to generate that .hpp (and the others) from<br>
the .idl, i.e. you should have a com/sun/star/uno/Exception.idl<br>
somewhere or other and cppumaker on the correct .rdb file generates them<br>
in your own build dir.<br>
<br>
You can see an example in e.g. voikko or openoffice.org-diafilter<br>
<br>
Taking diafilter, (<a href="https://fedorahosted.org/openoffice.org-diafilter/" target="_blank">https://fedorahosted.org/openoffice.org-diafilter/</a>)<br>
see the Makefile line 134<br>
<a href="https://fedorahosted.org/openoffice.org-diafilter/browser/Makefile#L134" target="_blank">https://fedorahosted.org/openoffice.org-diafilter/browser/Makefile#L134</a><br>
That generates a pile of .hpp files at build time, and one of them is<br>
the required Exception.hpp e.g. one of the output files is<br>
build/hpp/com/sun/star/uno/Exception.hpp<br>
<font color="#888888"><br>
C.<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jonathan Aquilina<br>