List Info

Thread:




country flaguser name
United States
2007-06-13 10:18:00
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:boost134boost_1_34_0libsiostreamsbuild>C:boost134
boost_1_34_0bjam
--to
olset=msvc  -sVC80_ROOT="C:Program FilesMicrosoft
Visual Studio 8VC"
"-sTOOL
S=vc-8_0" -sZLIB_INCLUDE=c:boost134boost_1_34_0zlib
-sZLIB_SOURCE=c:boost13
4boost_1_34_0zlib --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'.

I've tried running the above command with stage however that
fails
systematically with;

C:boost134boost_1_34_0libsiostreamsbuild>C:boost134
boost_1_34_0bjam
--to
olset=msvc  -sVC80_ROOT="C:Program FilesMicrosoft
Visual Studio 8VC"
"-sTOOL
S=vc-8_0" -sZLIB_INCLUDE=c:boost134boost_1_34_0zlib
-sZLIB_SOURCE=c:boost13
4boost_1_34_0zlib --with-iostreams  threading=multi
--layout=system
stage

notice: could not find main target  stage
notice: assuming it's a name of file to create
don't know how to make <e>stage
....found 1 target...
....can't find 1 target...


I'm sure  this is a dumb ass question but I've never worked
with boost
before and the bloke that normally does the builds is away
on holliers
(lucky git). This is the first time we're running with
visual studio 2005.

Can anybody help me out. I'm sure I've missed something
fundamental/basic.
Aplogies in advance if this is a really annoying question!
:(



regards

G


************************************************************
*************
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.
************************************************************
*************
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re:
country flaguser name
Sweden
2007-06-14 03:49:57
graham.walshsgcib.com 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:boost134boost_1_34_0libsiostreamsbuild>C:boost134
boost_1_34_0bjam
> --to
> olset=msvc  -sVC80_ROOT="C:Program
FilesMicrosoft Visual Studio
> 8VC" "-sTOOL
> S=vc-8_0"
-sZLIB_INCLUDE=c:boost134boost_1_34_0zlib
> -sZLIB_SOURCE=c:boost13
> 4boost_1_34_0zlib --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:boost134boost_1_34_0libsiostreamsbuild>C:boost134
boost_1_34_0bjam
> --to
> olset=msvc  -sVC80_ROOT="C:Program
FilesMicrosoft Visual Studio
> 8VC" "-sTOOL
> S=vc-8_0"
-sZLIB_INCLUDE=c:boost134boost_1_34_0zlib
> -sZLIB_SOURCE=c:boost13
> 4boost_1_34_0zlib --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:boost134boost_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

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )