Questions tagged [b2]

b2 is the 'Boost.Build' tool used with 'Jamfile' configuration files in order to generate boost libraries. b2 is a cross-platform, open-source build system, contained in each boost distribution under tools folder.

b2 is the 'Boost.Build' tool used with 'Jamfile' configuration files in order to generate boost libraries. b2 is a cross-platform, open-source build system, contained in each boost distribution under tools folder. Refer to https://boostorg.github.io/build/

68 questions
34
votes
5 answers

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

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…
Vertexwahn
  • 6,759
  • 6
  • 50
  • 78
8
votes
2 answers

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

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…
einpoklum
  • 86,754
  • 39
  • 223
  • 453
7
votes
1 answer

Boost 1.57.0 bootstrap.bat not working for Visual Studio .NET 2003

On a dev machine Vista SP1 with only Visual Studio .NET 2003 SP1 installed - with boost 1.44.0 I have no problem to generate b2.exe and bjam.exe using bootstrap.bat - with boost 1.57.0 I get this error message when running bootstrap.bat : …
Manuel Rozier
  • 651
  • 5
  • 9
7
votes
1 answer

BJam not compiling boost libraries with '-mt' tag when multi threading specified

I'm trying to compile boost v1.55 libraries for osx, with multi threading support. My user-config.jam configures the compiler as follows: using clang : osx : xcrun clang -arch i386 -arch x86_64 -stdlib=libstdc++ -mmacosx-version-min=10.9 ; And the…
MM.
  • 4,014
  • 4
  • 31
  • 64
6
votes
0 answers

How to Get size of all files in a Directory in b2 storage of backblaze.com using backblaze-b2 of nodejs

Documentation is available here but shocking is that there is no api to get the directory size same as du command does in linux. https://www.backblaze.com/b2/docs this has api for files but none for directory size -…
Vishvendra Singh
  • 394
  • 2
  • 17
5
votes
5 answers

Buidling boost error: Name clash for 'boost_system-vc120-mt-1_58.dll'

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…
cnd
  • 29,085
  • 60
  • 169
  • 294
5
votes
1 answer

What's the difference between b2 and ./bootstrap.sh when building python

Sorry if this has already been asked? I've build boost from source but have always been confused about the build tools. Which tool should be used when building the boost libraries from scratch. To me it seems that bootstrap.sh is used to create the…
BigONotation
  • 3,788
  • 4
  • 33
  • 57
4
votes
3 answers

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

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…
BigBoy1337
  • 3,709
  • 12
  • 55
  • 101
4
votes
1 answer

Backblaze B2 Native URL vs. Friendly URL - transaction caps?

I'm using B2 as a storage for the images on a website we develop. Due to the fact, there're millions of images to be served from B2 I'm wondering if there's a difference in using either native URL or friendly URL provided by B2 in terms of…
Goran Stoyanov
  • 1,966
  • 1
  • 18
  • 24
4
votes
3 answers

Build Boost.Locale with iconv for iOS

I'm currently trying to build Boost.Locale for iOS, but I can't get it to find the iconv lib (I'm successfully building other parts of Boost for iOS, such as thread or filesystem). I've tried to let Boost.Build find it by itself, I've tried to set…
JBL
  • 11,860
  • 4
  • 46
  • 76
3
votes
1 answer

Backblaze B2 download with "presigned URL"

Situation: I run a Django app in the web, where logged-in users can also download .pdf files (non-public, with specific restrictions, depending on user rights). The most convenient way to do so (e.g. in S3) is to use a time-restricted, pre-signed…
3
votes
0 answers

boost b2 build 64 bit results in argument error missing argument

I am trying to build 64 bit libraries using boost's b2. I followed all the steps to the tee but I keep getting an annoying error about a missing argument setup-script. Here is my user-config.jam file that I put into my HOME directory: #…
terminix00
  • 307
  • 2
  • 11
2
votes
1 answer

Boost installation: missing argument global-setup

I am trying to install boost library on Windows 10. I have VS2017 installed. I open the Developer Command Prompt 2017, and I already typed boostrap and now while writing b2, I get the following error: C:\Program…
Kasparov92
  • 1,226
  • 3
  • 11
  • 36
2
votes
1 answer

Backblaze Storage B2 PHP Download with Authorization from Private Bucket

I'm sort of struggling to understand the documentation for BackBlaze B2, I want to download files from a private bucket using PHP, I know the file ID and I want to get authorization (like 30 seconds) and then generate a download link (Presigned?).…
Moarty
  • 21
  • 2
2
votes
1 answer

How to install latest Boost version on Ubuntu 14.04?

I had Boost installed with apt-get install libboost-dev-all but version of Boost installed via this command was 1.54. I tried to install 1.60 using tutorial from boost.org via bootstrap and b2 using default options.But figured that I need a bit…
Il'ya Zhenin
  • 991
  • 2
  • 14
  • 28
1
2 3 4 5