Boost logo

Boost-Build :

From: graham.walsh_at_[hidden]
Date: 2007-06-18 06:19:47


thanks a million for that response. Its sorted me 10/10. Cheers.

I bought "Beyond the c++ standard library , An introduction to Boost" by
Bjorn Karlsson and started reading it this weekend. Insanely impressive
stuff available in boost.I'm hooked! :) If there are any other
reccomendations for reading out there, I'll gladly take them.

thanks again and have a nice day

G

|------------------------------
| r.johan.nilsson_at_g
| mail.com
| Sent by:
| boost-build-bounc
| es_at_lists.boost.or
| g
|
|
| 06/14/2007 10:49
| AM
|
|
| Please respond to
| boost-build_at_lists
| .boost.org
|
|
                                                                           
                                                                           
                                                                        To
                                               boost-build_at_[hidden]
                                                                        cc
                                                                           
                                                                   Subject
                                               Re: [Boost-build]
                                               libraries.. [C1]
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           

graham.walsh_at_[hidden] wrote:
> Hi,
>
> I've downloaded and built boost 1.34. I now need
> 'libboost_zlib-vc80-mt-gd-1_34.lib' (I'm on visual studio 2005 as the
> name
> suggest).
>
> The problem I'm facing is that boost_zlib-vc80-mt-gd-1_34.lib is
> correctly
> built however I don't know how to get the
> 'libboost_zlib-vc80-mt-gd-1_34.lib generated.
>
>
>> From within the iostreams/build directory I run the following
>> command;
>
>
>
C:\boost134\boost_1_34_0\libs\iostreams\build>C:\boost134\boost_1_34_0\bjam
> --to
> olset=msvc -sVC80_ROOT="C:\Program Files\Microsoft Visual Studio
> 8\VC" "-sTOOL
> S=vc-8_0" -sZLIB_INCLUDE=c:\boost134\boost_1_34_0\zlib
> -sZLIB_SOURCE=c:\boost13
> 4\boost_1_34_0\zlib --with-iostreams threading=multi --layout=system
> ....patience...
> ....found 540 targets...
>
>
> this generates the boost_zlib-vc80-mt-gd-1_34.lib for me but not the
> 'libboost_zlib-vc80-mt-gd-1_34.lib'.

The boost_zlib_<tags> is the import library for the DLL. The
libboost_zlib_<tags> refers to the statically built zlib library. Try
adding
"link=static" (less the quotation marks) to the command-line if you want to

build from the iostreams' build directory.

BTW - I don't think you need the "-sTOOLS" and "-sVC80_ROOT" arguments. At
least the TOOLS argument is for BBv1 only. Try "toolset=msvc-8.0" instead
from the VS2005 command prompt.

>
> I've tried running the above command with stage however that fails
> systematically with;
>
>
C:\boost134\boost_1_34_0\libs\iostreams\build>C:\boost134\boost_1_34_0\bjam
> --to
> olset=msvc -sVC80_ROOT="C:\Program Files\Microsoft Visual Studio
> 8\VC" "-sTOOL
> S=vc-8_0" -sZLIB_INCLUDE=c:\boost134\boost_1_34_0\zlib
> -sZLIB_SOURCE=c:\boost13
> 4\boost_1_34_0\zlib --with-iostreams threading=multi --layout=system
> stage

IIRC the stage target can only be used from the Boost root directory. Try
changing directory to C:\boost134\boost_1_34_0 and exec:

<path/to/>bjam toolset=msvc-8.0 threading=multi
link=static --with-iostreams -sZLIB_SOURCE=<whatever> stage

HTH / Johan

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost-build

*************************************************************************
This message and any attachments (the "message") are confidential and intended solely for the addressee(s).
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
                              ************
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses
destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************


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