Boost logo

Boost Users :

From: Owen Jacobson (ojacobson_at_[hidden])
Date: 2004-07-06 13:46:48


I'm trying to use boost.threads in my project, as they look like the
cleanest cross-platform threading interface I've seen in a while, and I'm
running into a wee problem convincing the libraries to build.

My setup:

Windows 2000 SP 4
Microsoft Visual C++ 7.1 (C:\Program Files\Microsoft Visual Studio .NET
MS SDK (U:\Program Files\Microsoft SDK)
Boost 1.31.0 (C:\boost_1_31_0, installing to C:\boost)

Cygwin is installed, but not present in PATH; I am not using cygwin to build
this project, only to run PostgreSQL. Python is not installed, as I have no
need for it. Visual C++ 6.0 is also installed (for legacy projects), but
not present in PATH.

bjam is present in PATH, as downloaded from Sourceforge.

C:\boost_1_31_0> bjam -v
Boost.Jam Version 3.1.9. OS=NT.

Attempting to run bjam results in a lengthy list of errors:

-- long paste --
C:\boost_1_31_0> bjam -sTOOLS=vc7.1
skipping Boost.Python library build due to missing or incorrect
...found 5266 targets...
...updating 747 targets...
MkDir1 bin
MkDir1 bin\boost
MkDir1 bin\boost\libs
MkDir1 bin\boost\libs\date_time
MkDir1 bin\boost\libs\date_time\build
MkDir1 bin\boost\libs\date_time\build\boost_date_time.dll
MkDir1 bin\boost\libs\date_time\build\boost_date_time.dll\vc7.1
MkDir1 bin\boost\libs\date_time\build\boost_date_time.dll\vc7.1\debug
The system cannot find the path specified.
The system cannot find the path specified.

    CALL "C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\bin\VCVARS32.BAT" >nul
    "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin\cl"

YN_LINK=1 /Z7 /Od /Ob0 /GX /GR /MDd /Op /Zc:forScope
Zc:wchar_t -I"bin\boost\libs\date_time\build" -I"C:\boost_1_31_0" -Fo"bi

...failed vc-C++
-- end paste --
(There is a complete build log at
<> (424KB).)

What is vc-C++ doing and where can I find it? There is no file with that
string in the name anywhere in the boost tree. As far as I can tell, it
fails to build any object files at all.

Any suggestions?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at