Boost logo

Boost Users :

Subject: Re: [Boost-users] Am I building 64-bit Boost correctly?
From: Lars Viklund (zao_at_[hidden])
Date: 2012-11-15 10:38:29


On Wed, Nov 14, 2012 at 10:41:42AM -0600, Ramon F Herrera wrote:
> On 11/14/2012 10:28 AM, Andrew Holden wrote:
>
>> Ensure you don't install your 64-bit libraries in the same directory as your 32-bit libraries. I forget the option to change this in stage. 32 and 62 bit can share the same include directory.
>
>
> I keep them miles apart. What I do is to have 2 environment variables:
>
> - $(Boost) ==> C:\Program Files (x86)\Boost\boost_1_52_0
> - $(Boost64) ==> C:\Program Files\Boost\boost_1_52_0
>
> And they are typed in the compiler and linker dialogs (See attachment)

I would personally not separate them solely by the name of the Program
Files, as that name can be reinterpreted based on the bitness of the
program trying to do the file access, and if you're unlucky, be
completely virtualized into a per-user place.

-- 
Lars Viklund | zao_at_[hidden]

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