error: Name clash for '<p/home/nr/dev/dist/boost/lib>libboost_system.a'
Hi, I just downloaded the boost 1.58 beta. Tried to build with: ./b2 --with-filesystem --with-system --with-atomic --with-chrono --with-date_time --with-program_options --with-regex --with-test --with-thread --with-random --with-context --with-coroutine variant=release link=static runtime-link=static threading=multi toolset=gcc cxxflags=-Wno-unused-local-typedefs install Got the following error: Performing configuration checks - 32-bit : no - 64-bit : yes - arm : no - mips1 : no - power : no - sparc : no - x86 : yes - lockfree boost::atomic_flag : yes - lockfree boost::atomic_flag : yes - has_icu builds : no error: Name clash for '
libboost_system.a' error: error: Tried to build the target twice, with property sets having error: these incompabile properties: error: error: - none error: - <address-model>64 <architecture>x86 error: error: Please make sure to have consistent requirements for these error: properties everywhere in your project, especially for install error: targets. Some googling reveals that people suggest adding '--without-context --without-coroutine' to work around the problem, but this is not an option for me because I use these libraries! What can I do to fix this? Thanks, Nate
Hi Nathan, Am Samstag, 4. April 2015, 07:12:11 schrieb Nathan Ridge:
I just downloaded the boost 1.58 beta.
Good.
Some googling reveals that people suggest adding '--without-context --without-coroutine' to work around the problem, but this is not an option for me because I use these libraries!
What can I do to fix this?
Follow the release notes:
IMPORTANT NOTE: There is a bug with the build scripts; you have to specify the address-mode and architecture to b2.> I used: ./b2 address-model=64 architecture=x86
(this will be fixed before the final release)
For 32-bit (Windows) please use "address-model=32 architecture=x86" Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold@gmx.eu ! Germany
Some googling reveals that people suggest adding '--without-context --without-coroutine' to work around the problem, but this is not an option for me because I use these libraries!
What can I do to fix this?
Follow the release notes:
Thanks! That did fix the problem. (And sorry, I should have read the release notes. It's a sign of Boost's quality that I haven't had to so far!) Regards, Nate
participants (2)
-
Jürgen Hunold
-
Nathan Ridge