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
Owen,
I am tracking down the same problem, except I am using the free 2003
Visual C++ tools. I suspect it has something to do with Cygwin, that
is what we have in common. I also do not have python installed. I
will let you know if I find out anything. My error log is very similar.
--Jimmy.
"Owen Jacobson"
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
"Owen Jacobson"
-- 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.
-------schnipp--------
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"bin\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"
-------schnapp--------
...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?
It's doing what I highlighted between schnipp/schnapp delimiters. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
participants (3)
-
David Abrahams
-
Jim Pritts
-
Owen Jacobson