Boost logo

Boost-Build :

From: pbristow_at_[hidden]
Date: 2020-04-28 10:44:04


I've been trying to build libraries using two different versions of GCC 9

error: Name clash for '<pI:\boost\lib>libboost_atomic-mgw9-mt-d-x64-1_73.a'
error:
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error: - <toolset-gcc:version>9.2.0
error: - <toolset-gcc:version>9.3.1
error:
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.

So one can't have two 9. versions?

I've looked at

--layout=<layout>

And considered using

-- versioned

But that appears to be about Boost versions not compiler versions.

I can manage without this, but would it be better to use the three digits (or
four now that Clang and GCC are on version >=10) ?

For example:

\boost\lib>libboost_atomic-mgw920-mt-d-x64-1_73.a'
\boost\lib>libboost_atomic-mgw921-mt-d-x64-1_73.a'

If there is a need to change the naming for some other reason too?

Or perhaps from another <layout> option? --fully-versioned?

Or is there some other workaround?

Paul


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk