Boost logo

Boost :

Subject: Re: [boost] 32/64 library name conflict under Windows?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2016-03-07 04:32:52

> -----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 A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830

Boost list run by bdawes at, gregod at, cpdaniel at, john at