|
Boost Users : |
Subject: Re: [Boost-users] How to build specified library for install?
From: Dancefire (dancefire_at_[hidden])
Date: 2009-03-11 00:56:38
I found the reason, the following command works for provious case:
C:\boost_1_38_0>bjam toolset=msvc variant=debug,release link=static
threading=multi runtime-link=shared -sZLIB_SOURCE=E:\zlib123
-sBZIP2_SOURCE=E:\bzip2-1.0.5 --with-iostreams "--prefix=e:\program
files\boost" install
The problem is the space in the path, should enquote --prefix= too.
On Wed, Mar 11, 2009 at 3:33 PM, Dancefire <dancefire_at_[hidden]> wrote:
> Hi,
>
> I am going to build boost::iostreams and install to some location. I
> tried following command:
>
> C:\boost_1_38_0>bjam toolset=msvc variant=debug,release link=static
> threading=multi runtime-link=shared -sZLIB_SOURCE=E:\zlib123
> -sBZIP2_SOURCE=E:\bzip2-1.0.5 --prefix="E:\Program
> Files\boost\boost_1_38_0\" --with-iostreams install
>
> However, I got following error:
>
> error: wrong library name 'iostreams install' in the --with-<library> option.
>
> It looks like that bjam consider install as a part of the library
> name. Is anything wrong with me? or it is a bug of bjam?
>
> Tao Wang
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net