Boost logo

Boost Users :

Subject: Re: [Boost-users] Error messages during configuration checks
From: Braden McDaniel (braden_at_[hidden])
Date: 2013-04-11 10:41:58


On Apr 10, 2013, at 11:34 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:

> On 04/10/2013 07:03 PM, Braden McDaniel wrote:
>> I'm seeing these error messages interspersed with the normal output of the Boost build's configuration checks:
>>
>>> Performing configuration checks
>>> - x86 : yes
>>> has_icu_test.cpp
>>> libs\regex\build\has_icu_test.cpp(12) : fatal error C1083: Cannot open include file: 'unicode/uversion.h': No such file or directory
>>> - has_icu builds : no
>>> warning: Graph library does not contain MPI-based parallel components.
>>> note: to enable them, add "using mpi ;" to your user-config.jam
>>> has_iconv.cpp
>>> libs\locale\src\..\build\has_iconv.cpp(8) : fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory
>>> - iconv (libc) : no
>>> has_iconv.cpp
>>> <snip>
>> What I have started doing differently is that I'm now calling b2 from a CMake script (via execute_process); but if that's what's triggering this, I don't understand how.
>>
>> Has anyone here seen this before? How might these error messages be suppressed?
>>
>
> The problem is caused by an environmental variable
> set by the IDE, which makes cl send its output directly
> to the IDE output window, defeating the output redirection
> used by Boost.Build. I don't remember off the top of my
> head, what the variable is called, though.

Aha! Some googling reveals: VS_UNICODE_OUTPUT.

I can unset it in CMake and the problem is solved. Thanks!

-- 
Braden McDaniel
braden_at_[hidden]

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