Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost 1.36.0 with Linux 64bits
From: Shiou Ming Lee (shiouming.lee_at_[hidden])
Date: 2010-01-28 12:25:13


On Fri, Jan 29, 2010 at 12:55 AM, JongKwan Kim <kwanu2000_at_[hidden]> wrote:

> Thanks for your answer.
>
> I need to use the Boost 1.36.0, but I have still problems.
> In fact, I have already run my code with Boost 1.36.0 with 32 bits machine.
>
> To run my code with 64 bits computer, I follow your comment.
> 1. download Boost1.36.0.tar.bz2 and unzip this
> 2. download pre-compiled bjam and move it to Boost1.36.0 directory
> 3. $cd /Boost1.36.0
> 4. $ ./bjam --build-dir=/build-boost --toolset=gcc --build-type=complete
> stage
>
> So, the Boost Library is installed, I think....
> But, I do not know how can I use this.
>
> When I install with simple way, there are only 2 directory - include and
> lib, but using ./bjam there are lots of directories /boost/bin.v2/libs/.....
>
> Do I have to assign each path separately?
>

Let's assume you had extracted Boost compressed file to
/home/yourname/boost_1_36_0 (let's call it Boost_Root_Path).
1) Under Boost_Root_Path, were you able to find a "boost" directory tree
with various library header files? For compiling my C++ program, I will set
Boost_Root_Path as header files searching path
(-I/home/yourname/boost_1_36_0), while my program's code will include those
header files by specifying thing similar to the following line:
#include <boost/bind/bind.hpp>

2) Under Boost_Root_Path, did your Boost build produce a "stage/lib"
directory with library binary files? If yes, then you can specify it as your
library searching path (-L/home/yourname/boost_1_36_0/stage/lib).

> Thanks,
>
>
>
>
> On Sat, Jan 23, 2010 at 2:53 PM, Ravi <lists_ravi_at_[hidden]> wrote:
>
>> On Thursday 21 January 2010 15:46:13 JongKwan Kim wrote:
>> > I would like to know if the boost 1.36.0 is working well with Linux 64
>> > bits.
>>
>> Yes, but using 1.42 (to be released in a few days) will likely save you
>> headaches in the future since there have a been a large number of
>> bug-fixes
>> since 1.36.
>>
>> > If I want to compile with boost 1.36.0 and Linux 64 bits, how should
>> > I install the boost 1.36.0?
>>
>>
>> http://www.boost.org/doc/libs/1_36_0/more/getting_started/unix-variants.html
>>
>> Regards,
>> Ravi
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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