Boost logo

Boost-Build :

From: Michael Peterson (michael148_at_[hidden])
Date: 2004-08-25 15:34:17


This is my first experience (and first day!) with boost-build so
apologize in advance for what is probably a simple question. I am
attempting to build boost on a Windows XP system with Visual Studio C++
V6.0. I have STLport V 4.6.2 (w/iostreams) installed using the defaults
(i.e., headers in MSV \include\stlport, libs in MSVC \lib, and the STL
dlls in c:\windows\system32). With this setup I can compile and build
c++ executables using the STL from the command line or from within my
editor (vslick).

Unfortunately, when I invoke bjam, the build fails. Any advice,
corrections, directions to documentation, example invocations, etc,
would be greatly appreciated

Cheers,
Michael
P.S. I assume that python is required *only* to build the python related
tools. If a requirement exists that python be installed for bjam to
work, I've missed that section in the bjam docs.

Here's my invocation of bjam and its output:

C:\local\sde\lib\boost-1.31.0>bjam -q -d+2 -sTOOLS=msvc-stlport stage
---------------------------------------------------------------------
skipping Boost.Python library build due to missing or incorrect
configuration
couldn't find Python.h in "c:/tools/python/include"
You can configure the location of your python installation by setting:
PYTHON_ROOT - currently "c:/tools/python"
PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
"2.2", NOT "2.2.1") - currently "2.2"
The following are automatically configured from PYTHON_ROOT if not
otherwise
set:
PYTHON_LIB_PATH - path to Python library object; currently
"c:/tools/python/libs"
---------------------------------------------------------------------
vc-C++
bin\boost\libs\date_time\build\boost_date_time.dll\msvc-stlport\debug\gr
eg_m
onth.obj
"cl"
/Zm800 -nologo -GX -c -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
-DBOOST_ALL_D YN_LINK=1 -D_STLP_NO_SGI_IOSTREAMS=1
-D_STLP_DO_IMPORT_CSTD_FUNCTIONS=1 -D_S TLP_DEBUG=1
-D_STLP_DEBUG_UNINITIALIZED=1 /Z7 /Od /Ob0 /GX /GR
Dd -I"bin\boost\libs\date_time\build"
-I"C:\local\sde\lib\STLport-4.6.2\s
tlport" -I"C:\local\sde\lib\boost-1.31.0"
-I"C:\PROGRA~1\MICROS~3\VC98\inclu
de"
-Fo"bin\boost\libs\date_time\build\boost_date_time.dll\msvc-stlport\de
bug\greg_month.obj" -Tp"C:\local\sde\lib\boost-1.31.0\l
ibs\date_time\build\../src/gregorian/greg_month.cpp"
greg_month.cpp
C:\local\sde\lib\STLport-4.6.2\stlport\cstdio(117) : error C2039:
'vsnprintf' : is not a member of '`global namespace''
C:\local\sde\lib\STLport-4.6.2\stlport\cstdio(117) : error C2873:
'vsnprintf' : symbol cannot be used in a using-declaration
C:\local\sde\lib\boost-1.31.0\boost/detail/shared_count.hpp(548) : fatal
error C1506: unrecoverable block scoping error ...failed updating 1
target...
C:\local\sde\lib\boost-1.31.0>

 ------=_NextPart_000_000C_01C48AA8.38CCEF30 Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"=
>
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN class=3D000462920-25082004>Thi=
s is my=20
first experience (and first day!) with boost-build so apologize in advance =
for=20
what is probably a simple question. </SPAN>I am attempting to build boost o=
n a=20
Windows XP system with Visual Studio C++ V6.0. I have STLport V 4.6.2=20
(w/iostreams) installed using the defaults (i.e., headers in MSV=20
\include\stlport, libs in MSVC \lib, and the STL dlls in c:\windows\system3=
2).=20
With this setup I can compile and build c++ executables using the STL from =
the=20
command line or from within my editor (vslick).</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Unfortunately, when I invoke bjam, the bui=
ld fails.=20
Any advice, corrections, directions to documentation, example invocations,=
=20
etc<SPAN class=3D000462920-25082004>,</SPAN> would be greatly=20
appreciated</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cheers,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Michael</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>P.S. I assume that python is required *onl=
y* to=20
build the python related tools. If a requirement exists that python be inst=
alled=20
for bjam to work, I've missed that section in the bjam docs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here's&nbsp;<SPAN=20
class=3D000462920-25082004>my</SPAN> invocation of bjam and its=20
output:</FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV><FONT face=3DArial size=3D2><EM>C:\local\sde\lib\boost-1.31.0&gt;bja=
m -q -d+2=20
-sTOOLS=3Dmsvc-stlport stage</EM></FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2><EM>------------------------------------------------------------=
---------</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>skipping Boost.Python library build =
due to=20
missing or incorrect configuration</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>couldn't find Python.h in=20
"c:/tools/python/include"</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>You can configure the location of yo=
ur python=20
installation by setting:</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>PYTHON_ROOT - currently=20
"c:/tools/python"</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>PYTHON_VERSION - The 2-part python=20
Major.Minor version number (e.g.</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>"2.2", NOT "2.2.1") - currently=20
"2.2"</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>The following are automatically conf=
igured=20
from PYTHON_ROOT if not otherwise</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>set:</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>PYTHON_LIB_PATH - path to Python lib=
rary=20
object; currently</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>"c:/tools/python/libs"</EM></FONT></=
DIV>
<DIV><FONT face=3DArial=20
size=3D2><EM>------------------------------------------------------------=
---------</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>vc-C++</EM></FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2><EM>bin\boost\libs\date_time\build\boost_date_time.dll\msvc-stlp=
ort\debug\greg_m</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>onth.obj</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>"cl"</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>/Zm800 -nologo -GX -c=20
-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_ALL_D YN_LINK=3D1=20
-D_STLP_NO_SGI_IOSTREAMS=3D1 -D_STLP_DO_IMPORT_CSTD_FUNCTIONS=3D1 -D_S TL=
P_DEBUG=3D1=20
-D_STLP_DEBUG_UNINITIALIZED=3D1 /Z7 /Od /Ob0 /GX /GR</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>Dd -I"bin\boost\libs\date_time\build=
"=20
-I"C:\local\sde\lib\STLport-4.6.2\s</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>tlport" -I"C:\local\sde\lib\boost-1.=
31.0"=20
-I"C:\PROGRA~1\MICROS~3\VC98\inclu</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>de"=20
-Fo"bin\boost\libs\date_time\build\boost_date_time.dll\msvc-stlport\de</E=
M></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>bug\greg_month.obj"=20
-Tp"C:\local\sde\lib\boost-1.31.0\l</EM></FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2><EM>ibs\date_time\build\../src/gregorian/greg_month.cpp"</EM></F=
ONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>greg_month.cpp</EM></FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2><EM>C:\local\sde\lib\STLport-4.6.2\stlport\cstdio(117) : error C=
2039:=20
'vsnprintf' : is not a member of '`global namespace''</EM></FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2><EM>C:\local\sde\lib\STLport-4.6.2\stlport\cstdio(117) : error C=
2873:=20
'vsnprintf' : symbol cannot be used in a using-declaration</EM></FONT></D=
IV>
<DIV><FONT face=3DArial=20
size=3D2><EM>C:\local\sde\lib\boost-1.31.0\boost/detail/shared_count.hpp(=
548) :=20
fatal error C1506: unrecoverable block scoping error ...failed updating 1=
=20
target...</EM></FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2><EM>C:\local\sde\lib\boost-1.31.0&gt;</EM></FONT></DIV></BLOCKQU=
OTE><PRE>&nbsp;</PRE></BODY></HTML>
 ------=_NextPart_000_000C_01C48AA8.38CCEF30--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk