Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to built boost?
From: ÷ÑÞÅÓÌÁ× âÌÉÎÎÉËÏ× (slavmfm_at_[hidden])
Date: 2010-11-22 08:37:53


I have the experience of building pretty much of different weird
libraries for Linux (event LinuxFromScrath :) ) but it never was so
hard like with boost (for Windows!!). It took 10 hours. I even tried
to add .cpp-files to my project instead of .lib ones - but it has some
"test" definition and I gave up. Then I found out other library which
is shipped with boost's lib files - I tried to use them instead of
building them by my own - didn't helped too... Pretty sad experience
of using boost even before using it at all :).
After 6 hours I stopped cherishing hope that at some day I will build
it and already staerted to learn other "serialization" library but
after a while I started my torture again. And I think that much people
face the same problems but are not so pushy. It's need to simplify
this process somehow (I think some "bat" and "bjam" make this process
much more harder then old-style compilation using just command line
compiler) - release .cpp files, ready-to-use lib files and so one -
somehow! I vote for this :)

2010/11/22 <gilam.roth_at_[hidden]>:
> Hello,
>
> I read the documentation, I use Solaris and follow step by step the docs.
> Boost is not being build, bjam does not work even on the boost example.
> Trying to use unit test module with other previously build libs and make file, will generate errors about std.
> Maybe because it insist on having cpp.
> Yes, I did setenv to boost_dir and boost_root and change the linker option to sun.
> No one is answering my question about this on the forum, and I revel I'm not the first and only one having this troubles.
> Also it seems that the boost library is meant to serve first and most likely Microsoft users. That's a real disappointment.
> It seems to me that more effort could be made on a clear documentation, now it is vogue and lot left to the user imagination when coming to configuration. Yes, I know simply do 3 steps simply run the sh, alas, it is so simple that it don't work.
> The situation seem to be gloom and doom. A very big disappointment, and pity. It seems that lots of good people contribute to this wonderful framework but it seem to work only on Microsoft and maybe Linux, what a waste.
>
> If anybody think he can help me I will be glad to use boost, otherwise it seems that on Solaris I'll had to use Ulib or something like this.
>
> -----Original Message-----
> From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Vladimir Prus
> Sent: Monday, November 22, 2010 9:11 AM
> To: Boost.Build developer's and user's list
> Subject: Re: [Boost-build] How to built boost?
>
> 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
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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