|
Boost Users : |
From: Owen Jacobson (ojacobson_at_[hidden])
Date: 2004-07-06 13:46:48
Salve.
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
2003\VC7\)
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
configuration
(...)
---------------------------------------------------------------------
...patience...
...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
vc-C++
bin\boost\libs\date_time\build\boost_date_time.dll\vc7.1\debug\greg_month.ob
j
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"
/Zm800 -nologo -GX -c -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_ALL_D
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
n\boost\libs\date_time\build\boost_date_time.dll\vc7.1\debug\greg_month.obj"
-Tp"C:\boost_1_31_0\libs\date_time\build\../src/gregorian/greg_month.cpp"
...failed vc-C++
bin\boost\libs\date_time\build\boost_date_time.dll\vc7.1\debug\greg_month.ob
j...
-- end paste --
(There is a complete build log at
<http://machinae.lionsanctuary.net/2004/07/boost-log> (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?
Owen
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