Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to built boost?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-11-22 02:10:58


On Sunday, November 21, 2010 14:57:41 Вячеслав Блинников wrote:
> Hello. I cannnot build the boost library. Part of it which are not
> require .cpp file ("lexical_cast") works well and I use it already.
> But "serialization" part usage failed ("1>LINK : fatal error LNK1104:
> cannot open file 'libboost_serialization-vc100-mt-gd-1_45.lib'");
> I did:
> - downloaded bjam.exe
>
> - downloaded boost-build and unzipped it to C:\boost-build
>
> - downloaded boost_1_45_0 and unzipped it to C:\boost_1_45_0
>
> - issued commands like "bjam.exe --toolset=msvc
> --prefix=C:\boost_1_45_0 --build-type=complete
> --build-dir="C:\boost_build" --stagedir=C:\boost_build stage"
> result after 5 seconds lag:
>
> C:/boost_1_45_0/tools/build/v2/build\configure.jam:145: in builds-raw
> *** argument error
> * rule UPDATE_NOW ( targets * :
> log ? : ignore-minus-n ? )
> * called with: (
> <pC:\boost_build\boost\bin.v2\libs\regex\build\msvc-10.0\debug\
> threading-multi>has_icu.exe
> <pC:\boost_build\boost\bin.v2\libs\regex\build\msvc-
>
> 10.0\debug\threading-multi>has_icu.pdb : : ignore-minus-n :
> ignore-minus-q )
> * extra argument ignore-minus-q
> (builtin):see definition of rule
> 'UPDATE_NOW' being called
>
> C:/boost_1_45_0/tools/build/v2/build\configure.jam:179: in
> configure.builds
>
> C:/boost_1_45_0/tools/build/v2/build\configure.jam:216: in
> object(check-target-b
> uilds-worker)@409.check
> ...............
>
> C:/boost_1_45_0/tools/build/v2/build\targets.jam:848: in
> targets.generate-from-r
> eference
>
> C:/boost_1_45_0/tools/build/v2/build\targets.jam:1217: in
> generate-dependencies
>
> C:/boost_1_45_0/tools/build/v2/build\targets.jam:1268: in
> alias-target-class.gen
> erate
> Jamroot:648: in build-multiple
>
> Result: I don't have any .lib files.
> What did I wrong?

Well, you have not read the documentation on building ;-)
You only have to:

1. Unpack boost
2. Run ".\bootstrap.bat"
3. Run ".\bjam.exe", optionally adding your --prefix and --build-dir and
--build-type options.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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