Boost logo

Boost-Build :

From: Huifeng Shen (useraddcn_at_[hidden])
Date: 2005-08-24 09:08:12


Please describe your enviroment detailed, such as complier and the version,
the os and the version.

I write a batch file for compile boost-1.33 in windows with vc71 and mingw,
hope if be useful for you.

=====================================================================
@echo off

set BOOST_ROOT=c:\opt\boost
set PYTHON_ROOT=c:\python
set PYTHON_VERSION=2.4

if "%1"=="" goto noparam
if "%1"=="mingw" goto boostmingw
if "%1"=="vc71" goto boostvc71
if "%1"=="vc71stl" goto boostvc71stl

:boostmingw
set TOOLS=mingw
echo "building boost on mingw ..."
call c:\mingw.bat
bjam "-sBUILD=debug release <runtime-link>static/dynamic <threading>multi"
install
goto theend

:boostvc71
echo "building boost on vc7_1 ..."
set TOOLS=vc-7_1
call "c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.bat"
bjam "-sBUILD=debug release <runtime-link>static/dynamic <threading>multi"
install
goto theend

:boostvc71stl
@rem you must build the stlport with /Zc:wchar_t
echo "building boost on vc7_1-slport ..."
call "c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.bat"
set TOOLS=vc-7_1-stlport
set STLPORT_PATH=c:\opt
set STLPORT_4.62_PATH=c:\opt\STLport-4.6.2
set STLPORT_VERSION=4.6.2
set BZIP2_SOURCE=c:\opt\bzip2
set ZLIB_SOURCE=c:\opt\zlib
set ICU_PATH=c:\opt\icu
bjam "-sBUILD=debug release <runtime-link>static/dynamic <threading>multi
<native-wchar_t>on" --with-regex stage
rem bjam "-sBUILD=debug release <runtime-link>static/dynamic
<threading>multi <native-wchar_t>on" install
goto theend

:noparam
echo "Usage : [vc71 | vc71stl | mingw]"
goto theend

: theend
rem something
=================================================================================
----- Original Message -----
From: "badyaev" <A.Badyaev_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Wednesday, August 24, 2005 9:31 PM
Subject: [jamboost] Build boost-1_33_0 with BBv2 failed

> Sorry for my bad english - my language is russian.
>
> I download last release boost-1_33_0 from sourceforge and try build it
> with Boost Build v2.
> I got follow error message:
>
> Building Boost.Regex with the optional Unicode/ICU support disabled.
> Please refer to the Boost.Regex documentation for more information
> (and if you don't know what ICU is then you probably don't need it).
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:749: in
> generate-really from module object(main-target)@20
> error: failed to build libs/iostreams/build/boost_zlib with properties
> <asynch-exceptions>off <debug-store>object <debug-symbols>on
> <exception-handling>on <extern-c-nothrow>off <inlining>off
> <link>shared <optimization>off <os>NT <profiling>off <rtti>on
> <runtime-debugging>on <runtime-link>shared <stdlib>native
> <threading>single <toolset>msvc <variant>debug because no
> best-matching alternative could be found
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:730: in
> object(main-target)@20.generate from module object(main-target)@20
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:252: in
> object(project-target)@8.generate from module object(project-target)@8
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:886: in
> targets.generate-from-reference from module targets
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:1066:
> in generate-dependencies from module object(install-target-class)@4
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:1107:
> in object(install-target-class)@4.generate from module
> object(install-target-class)@4
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:757: in
> generate-really from module object(main-target)@5
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:730: in
> object(main-target)@5.generate from module object(main-target)@5
> D:/DevTools/libs/boost_1_33_0/tools/build/v2/build\targets.jam:252: in
> object(project-target)@4.generate from module object(project-target)@4
> D:/DevTools/libs/boost_1_33_0/tools/build/v2\build-system.jam:276: in
> load from module build-system
> D:\DevTools\libs\boost_1_33_0\tools\build\v2/kernel\modules.jam:259:
> in import from module modules
> D:\DevTools\libs\boost_1_33_0\tools\build\v2/kernel/bootstrap.jam:153:
> in boost-build from module
> D:\DevTools\libs\boost_1_33_0\boost-build.jam:12: in module scope from
> module
>
> What I can do for success build booat libraries?
> --
> Alexey Badyaev
> mailto:leemouse_at_[hidden]
>
>
>
>
> SPONSORED LINKS Configuration management tools Configuration management
> Software configuration management
> Software configuration management tool Configuration management best
> practice
>
>
> --------------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
> a.. Visit your group "jamboost" on the web.
>
> b.. To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> --------------------------------------------------------------------------------
>
>

__________________________________________________
Do You Yahoo!?
ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä
http://cn.mail.yahoo.com/?id=77071

 


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