optional.hpp missing on buildbots?

Chris Sherlock chris.sherlock79 at gmail.com
Wed Nov 13 08:33:26 UTC 2019



> On 13 Nov 2019, at 6:00 pm, Luboš Luňák <l.lunak at collabora.com> wrote:
> 
> On Wednesday 13 of November 2019, Chris Sherlock wrote:
>> Hi all,
>> 
>> Do you know why I am getting the error "compiler couldn't find the file
>> »boost/optional.hpp« referenced from
>> C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/include\vcl/outdev
>> state.hxx(31)” ?
>> 
>> The change in gerrit is:
>> 
>> https://gerrit.libreoffice.org/#/c/82454/6
>> <https://gerrit.libreoffice.org/#/c/82454/6>
>> 
>> I have added boost headers into the test,
> 
> Not really, you did it incorrectly, and gmake/gbuild silently ignores the 
> error. You forgot the unittest name, see e.g. 
> https://cgit.freedesktop.org/libreoffice/core/tree/vcl/CppunitTest_vcl_gen.mk#n32 
> on how to add boost headers correctly.

Thanks Lubos, that’s very helpful :-)

My build-fu is really not all that strong!

Chris

> 
>> so I can’t work out why this is 
>> happening… anyone have any ideas? Interestingly, the gcc build works fine.
> 
> 
> 
> -- 
> Luboš Luňák
> l.lunak at collabora.com
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice


More information about the LibreOffice mailing list