I reinstall VC 7.1 and delete boost. Then do the following works:
d:
cd boost
cvs -d:pserver:anonymous@cvs.boost.sourceforge.net:/cvsroot/boost login
[press return]
cvs -z3 -d:pserver:anonymous@cvs.boost.sourceforge.net:/cvsroot/boost
checkout boost
cvs -d:pserver:anonymous@cvs.boost.sourceforge.net:/cvsroot/boost logout
now got last version of boost
cd boost
cd tools
cd build
cd jam_src
build.bat
some message on screen:
Setting environment for using Microsoft Visual C++ tools.
###
### Using 'msvc' toolset.
###
...
now got bjam.exe
then do following work:
cd..
cd..
cd..
current directory now is d:\boost\boost
set BOOST_ROOT=D:\boost\boost
set VISUALC=C:\Program Files\Microsoft Visual C++\VC98
tools\build\jam_src\bin.ntx86\bjam "-sTOOLS=msvc"
build successfully
set VC7_ROOT=D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
tools\build\jam_src\bin.ntx86\bjam "-sTOOLS=vc7"
some message on screen:
"cl" /Zm800 -nologo -GX -c /Z7 /Od /Ob0 /GX /GR /MTd /Op
/Zc:wchar_t,for
Scope -I"libs\thread\build" -I"D:\boost\boost" -I"C:\Program
Files\Microsoft V
isual
udio\VC98\include" -Fo"libs\thread\build\bin\libboost_thread.lib\vc7\d
ebug\runtime-link-static\threading-multi\tss.obj" -Tp"libs\thread\build\../
src\
tss.cpp"
...failed vc-C++
libs\thread\build\bin\libboost_thread.lib\vc7\debug\runtime-lin
k-static\threading-multi\tss.obj...
vc-C++
libs\thread\build\bin\libboost_thread.lib\vc7\debug\runtime-link-static\t
hreading-multi\xtime.obj
Command line error D2016 : '/Za' and '/Ze' command-line options are
incompatible
"cl" /Zm800 -nologo -GX -c /Z7 /Od /Ob0 /GX /GR /MTd /Op
/Zc:wchar_t,for
Scope -I"libs\thread\build" -I"D:\boost\boost" -I"C:\Program
Files\Microsoft V
isual
udio\VC98\include" -Fo"libs\thread\build\bin\libboost_thread.lib\vc7\d
ebug\runtime-link-static\threading-multi\xtime.obj" -Tp"libs\thread\build\.
./sr
c\xtime.cpp"
...failed vc-C++
libs\thread\build\bin\libboost_thread.lib\vc7\debug\runtime-lin
k-static\threading-multi\xtime.obj...
--
/*******************/
×ÔÓÉ£šliberty£©ÎÞ·ÇŸÍÊÇÕâÑùÒ»ÖÖ³Ðŵ£ºÃ¿žöÈËœ«»áµÃµœÒ»ÖÖ±£ÕÏ£¬±£ÕÏÎÒÃÇ¿ÉÒÔÓë
ÈšÍþ¡¢¶àÊý¡¢Á÷Ë׌°ÓßÂÛµÄÓ°ÏìÏ࿹ºâ¡£
/*******************/
"Black Ice"
The last version of boost has got by CVS. set BOOST_ROOT=d:\boost\boost set VC7_ROOT=D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 bjam "-sTOOLS=vc7"
Command line error D2016 : '/Za' and '/Ze' command-line options are incompatible
-- /*******************/ ×ÔÓÉ£šliberty£©ÎÞ·ÇŸÍÊÇÕâÑùÒ»ÖÖ³Ðŵ£ºÃ¿žöÈËœ«»áµÃµœÒ»ÖÖ±£ÕÏ£¬±£ÕÏÎÒÃÇ¿ÉÒÔ Óë ÈšÍþ¡¢¶àÊý¡¢Á÷Ë׌°ÓßÂÛµÄÓ°ÏìÏ࿹ºâ¡£ /*******************/
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/