Boost logo

Boost Users :

Subject: Re: [Boost-users] How to disable the check or the error after checking for ICU (for regex lib) when building boost ?
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-07-30 11:49:33


> I get the following message when compiling boost from trunk:
>
> 1>Building the Boost C++ Libraries.
> 1>has_icu_test.cpp
> 1>libs\regex\build\has_icu_test.cpp(12) : fatal error C1083: Cannot open
> include file: 'unicode/uversion.h': No such file or directory
> 1>Performing configuration checks
> 1> - has_icu builds : no
>
> Although the build succeeds (as this is a test) Visual Studio recognizes
> the error in the output and stops compiling the project and reports the
> build as failed.
>
> Is there a way for me to suppress this message ? Or this test ?
>
> Attempting to redirect output with &>outfile.txt do not work as the error
> messages still gets output in VS. Are there and build options to disable
> this check ?

No not at present, unless they're present in Boost.Build somewhere.
Actually I *never* see this error message just the

Performing configuration checks
   - has_icu builds : no

part. I'm not sure what controls this, but I'll try and find out.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net