b2

Boost build fails C++11 feature checks when using (custom) GCC 4.x or 5.x

我的未来我决定 提交于 2019-12-30 03:20:10
问题 I need to build Boost 1.62 and 1.63 on a Fedora 24 machine, but using GCC 4.9.3 or GCC 5.4.0 (depending on the version CUDA, which is the reason why I need an older compiler). But if I set the custom GCC version as described in this answer and run /b2 --toolset=gcc-5.4.0 stage To my chagrin, I now see: - 32-bit : no - 64-bit : yes - arm : no - mips1 : no - power : no - sparc : no - x86 : yes - symlinks supported : yes - C++11 mutex : no - lockfree boost::atomic_flag : yes - Boost.Config

How to build boost Version 1.58.0 using Visual Studio 2015 (Enterprise)

佐手、 提交于 2019-12-17 08:21:53
问题 I like to build boost 1.58.0 using the (new) Visual Studio 2015 (Enterprise). In the past I proceeded in the following way: Download boost 1.58.0 from www.boost.org Extract files (e.g. C:\thirdparty\vs2013\x64\boost_1_58_0 ) Start Visual Studio 2013 x64 command prompt ( VS2013 x64 Native Tools Command Prompt ) Change to boost directory (e.g. cd C:\thirdparty\vs2013\x64\boost_1_58_0 ) Execute .\bootstrap.bat Execute .\b2 -j8 --toolset=msvc-14.0 address-model=64 --build-type=complete stage b2

How to build 64-bit boost for visual studio on windows using the address-model flag?

℡╲_俬逩灬. 提交于 2019-12-14 03:57:09
问题 I am trying to build boost on the x64 terminal for Visual Studio using these instructions: https://www.boost.org/doc/libs/1_62_0/more/getting_started/windows.html#get-boost I do: boostrap then .\b2 address-model=64 but it always says: C:\boost_1_70_0>.\b2 address-model=64 Performing configuration checks - default address-model : 32-bit - default architecture : x86 Building the Boost C++ Libraries. ... and then goes on to build 32 bit versions of everything. I know this because when I try and

Boost Thread: Use of deleted function Error

纵饮孤独 提交于 2019-12-11 19:49:45
问题 I am trying to use a multi-threading in boost to handle multiple requests and upon the reception of a specific message I will create a new thread to handle it as below: main.cpp /** * Destination Machine Request Handler. * * @param msg Received message. * @param ec Error code. */ void handover_request_handler(odtone::mih::message &msg, const boost::system::error_code &ec) { if (ec) { log_(0, FUNCTION , " error: ", ec.message()); return; } // Do some stuff } void event_handler(odtone::mih:

Buidling boost error: Name clash for '<pstage\\lib>boost_system-vc120-mt-1_58.dll'

天大地大妈咪最大 提交于 2019-11-29 07:48:45
I'm trying to build boost on windows 8.1 with Visual Studio 2013 on 64bit system. b2 toolset="msvc" address-model=64 -s ZLIB_SOURCE=C:\H\M\zlib --build-type=complete stage Here is full output: Performing configuration checks - symlinks supported : no - junctions supported : yes - hardlinks supported : yes - arm : no - mips1 : no - power : no - sparc : no - x86 : yes - has_icu builds : no warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user-config.jam - iconv (libc) : no - iconv (separate) : no - icu : no - icu (lib64) : no

Buidling boost error: Name clash for '<pstage\lib>boost_system-vc120-mt-1_58.dll'

不羁的心 提交于 2019-11-28 01:44:28
问题 I'm trying to build boost on windows 8.1 with Visual Studio 2013 on 64bit system. b2 toolset="msvc" address-model=64 -s ZLIB_SOURCE=C:\H\M\zlib --build-type=complete stage Here is full output: Performing configuration checks - symlinks supported : no - junctions supported : yes - hardlinks supported : yes - arm : no - mips1 : no - power : no - sparc : no - x86 : yes - has_icu builds : no warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using

How to build boost Version 1.58.0 using Visual Studio 2015 (Enterprise)

大城市里の小女人 提交于 2019-11-27 06:34:08
I like to build boost 1.58.0 using the (new) Visual Studio 2015 (Enterprise). In the past I proceeded in the following way: Download boost 1.58.0 from www.boost.org Extract files (e.g. C:\thirdparty\vs2013\x64\boost_1_58_0 ) Start Visual Studio 2013 x64 command prompt ( VS2013 x64 Native Tools Command Prompt ) Change to boost directory (e.g. cd C:\thirdparty\vs2013\x64\boost_1_58_0 ) Execute .\bootstrap.bat Execute .\b2 -j8 --toolset=msvc-14.0 address-model=64 --build-type=complete stage b2 -j8 --toolset=msvc-12.0 address-model=64 --build-type=complete stage --with-python But in VS2015 there