Subject: [boost] 32/64 library name conflict under Windows?
From: Peter Dimov (lists_at_[hidden])
Date: 2016-03-04 13:31:31
I remember that we discussed this problem before:
C:\Projects\boost-git\boost>b2 --with-system toolset=msvc-10.0
error: Name clash for '<pstage\lib>libboost_system-vc100-mt-gd-1_61.lib'
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error: - <address-model>32
error: - <address-model>64
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
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).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk