Boost logo

Boost :

Subject: Re: [boost] 32/64 library name conflict under Windows?
From: Ian Emmons (ian_at_[hidden])
Date: 2016-03-07 22:41:55


> On Mar 7, 2016, at 4:32 AM, Paul A. Bristow <pbristow_at_[hidden]> wrote:
>
>> -----Original Message-----
>> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Peter Dimov
>> Sent: 04 March 2016 18:32
>> To: boost-devel
>> Subject: [boost] 32/64 library name conflict under Windows?
>>
>> I remember that we discussed this problem before:
>>
>> C:\Projects\boost-git\boost>b2 --with-system toolset=msvc-10.0
>> address-model=32,64
>>
>> [...]
>>
>> error: Name clash for '<pstage\lib>libboost_system-vc100-mt-gd-1_61.lib'
>> error:
>> error: Tried to build the target twice, with property sets having
>> error: these incompatible properties:
>> error:
>> error: - <address-model>32
>> error: - <address-model>64
>> error:
>> error: Please make sure to have consistent requirements for these
>> error: properties everywhere in your project, especially for install
>> error: targets.
>>
>> but don't remember what we concluded. Will we support building both 32 and
>> 64 bit libraries under Windows? At present if I want to have an IDE project
>> that has both Win32 and x64 configurations I need to build the 32 bit
>> libraries, move them out of stage/lib somewhere, then build the 64 bit
>> libraries, then move them out of stage/lib to somewhere else, and set my
>> library directories in the IDE accordingly.
>>
>> It would be much more convenient if 32/64 were encoded into the name, so
>> that I can leave my library path to point at stage/lib and rely on autolink
>> to choose the right .lib file automatically, like it works today for the
>> other options (debug/release, static/dynamic runtime).
>
> +1 (at least)
>
> Paul

+1 for me as well.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk