Boost logo

Boost Users :

Subject: Re: [Boost-users] boost 1.40 build error with VC++ 2008
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-09-30 01:15:33


Newsuser wrote:

> Hi All,
>
> I encounter build error on Windows XP system when building with Visual Studio 2008 Profession
> (with Feature Pack, without SP1). Here is the trimmed output on my console window. Does someone
> know what is wrong here? I just run two commands "bootstrap.bat" and then ".\bjam" to build the
> library. Thanks a lot for your help.
>
>
> Setting environment for using Microsoft Visual Studio 2008 x86 tools.
>
> C:\>cd /d d:\opensource\boost_1_40_0
>
> D:\opensource\boost_1_40_0>bootstrap.bat
> Building Boost.Jam build engine
> The system cannot find the file specified.
>
> Bootstrapping is done. To build, run:
>
> .\bjam
>
> D:\opensource\boost_1_40_0>.\bjam
>
> Building the Boost C++ Libraries.
>
> After the build, the headers will be located at
>
> D:\opensource\boost_1_40_0
>
> The libraries will be located at
>
> D:\opensource\boost_1_40_0\stage\lib
>
> Use 'bjam install --prefix=<path>' if you wish to install headers and
> libraries to a different location and remove the source tree.
>
>
> warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
> note: Please refer to the Boost.Regex documentation for more information
> note: this is a strictly optional feature.
> warning: Graph library does not contain optional GraphML reader.
> note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
> note: directories containing the Expat headers and libraries, respectively.
> warning: Graph library does not contain MPI-based parallel components.
> note: to enable them, add "using mpi ;" to your user-config.jam
> warning: skipping optional Message Passing Interface (MPI) library.
> note: to enable MPI support, add "using mpi ;" to user-config.jam.
> note: to suppress this message, pass "--without-mpi" to bjam.
> note: otherwise, you can safely ignore this message.
> ...patience...
> ...patience...
> ...patience...
> ...found 6570 targets...
> ...updating 824 targets...
> common.mkdir stage
> ...
> common.mkdir bin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi
> compile-c-c++-pch bin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi\pch.pch
> cl : Command line error D8022 : cannot open
> 'bin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi\pch.pch.rsp'
>
> call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul
> cl /Zm800 -nologo @"bin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi\pch.pch.rsp"
> "bin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi\pch.pch.cpp"

This is strange. Is there actually such file? Do you have "bjam" in boost root directory?
What is the output of ".\bjam --version"?

- Volodya


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