Boost logo

Boost Users :

Subject: [Boost-users] boost 1.40 build error with VC++ 2008
From: Newsuser (newsuser_at_[hidden])
Date: 2009-09-29 11:04:37


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"

...failed compile-c-c++-pch bin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi\pch.pch bin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi\pch.obj...
...skipped <pbin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi>ellint_1f.obj for lack of <pbin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi>pch.pch...
...skipped <pstage\lib>libboost_math_tr1f-vc90-mt-gd-1_40.lib for lack of <pbin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi>libboost_math_tr1f-vc90-mt-gd-1_40.lib...
common.mkdir bin.v2\libs\math\config
common.mkdir bin.v2\libs\math\config\msvc-9.0
common.mkdir bin.v2\libs\math\config\msvc-9.0\debug
common.mkdir bin.v2\libs\math\config\msvc-9.0\debug\link-static
common.mkdir bin.v2\libs\math\config\msvc-9.0\debug\link-static\threading-multi
compile-c-c++ bin.v2\libs\math\config\msvc-9.0\debug\link-static\threading-multi\has_long_double_support.obj
cl : Command line error D8022 : cannot open 'bin.v2\libs\math\config\msvc-9.0\debug\link-static\threading-multi\has_long_double_support.obj.rsp'

    call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"bin.v2\libs\math\config\msvc-9.0\debug\link-static\threading-multi\has_long_double_support.obj.rsp"

...failed compile-c-c++ bin.v2\libs\math\config\msvc-9.0\debug\link-static\threading-multi\has_long_double_support.obj...
...skipped <pbin.v2\libs\math\build\msvc-9.0\debug\link-static\threading-multi>assoc_laguerrel.obj for lack of <pbin.v2\libs\math\config\msvc-9.0\debug\link-static\threading-multi>has_long_double_support.obj...
    call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"bin.v2\libs\serialization\build\msvc-9.0\debug\link-static\threading-multi\extended_type_info.obj.rsp"

...failed compile-c-c++ bin.v2\libs\serialization\build\msvc-9.0\debug\link-static\threading-multi\extended_type_info.obj...
...interrupted
compile-c-c++ bin.v2\libs\serialization\build\msvc-9.0\debug\link-static\threading-multi\extended_type_info_typeid.obj
cl : Command line error D8022 : cannot open 'bin.v2\libs\serialization\build\msvc-9.0\debug\link-static\threading-multi\extended_type_info_typeid.obj.rsp'
...failed updating 55 targets...
...skipped 119 targets...
...updated 35 targets...

D:\opensource\boost_1_40_0>



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