Questions tagged [boost-build]

Boost Build is designed as a multi-platform replacement for for build control systems like GNUMake. Unlike Make, it is currently limited to programs written in C++.

150 questions
58
votes
3 answers

How can I decode the boost library naming?

I tried to find out that gd means in boost library name and I only found two other people looking for the same thing. I suppose it should be a place where this is clearly documented and I would like to find it. mt - multitheaded, get it with bjam…
sorin
  • 137,198
  • 150
  • 472
  • 707
51
votes
4 answers

How do you build the x64 Boost libraries on Windows?

I've built the x86 Boost libraries many times, but I can't seem to build x64 libraries. I start the "Visual Studio 2005 x64 Cross Tools Command Prompt" and run my usual build: bjam --toolset=msvc --build-type=complete --build-dir=c:\build…
Ferruccio
  • 93,779
  • 37
  • 217
  • 294
27
votes
6 answers

Boost compiling with MSVC 11 (VS 2012)

How to build Boost (I tried version 1.48.0) with Visual Studio C++ 11? bootstrap.bat cannot find toolset vc11. I added toolset vc11 to F:\Programming\boost_1_48_0\tools\build\v2\engine\build.bat but got a message: ERROR: Cannot determine the…
Loom
  • 9,042
  • 19
  • 50
  • 102
18
votes
2 answers

BoostBuild: patchlevel.h does not exist

I'm trying to compile a C++ project using bjam on Ubuntu 11.04. I keep getting the following error: ../../libraries/boost_1_44_0/boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory I searched my project…
Matt
  • 971
  • 4
  • 14
  • 25
12
votes
4 answers

What exactly does `threading=multi` do when compiling boost?

I am not entirely sure what exactly the threading=multi flag does when building boost. The documentation says: Causes the produced binaries to be thread-safe. This requires proper support in the source code itself. which does not seem to be very…
hogliux
  • 501
  • 4
  • 18
8
votes
5 answers

How to build Boost 1.55 with Visual Studio 2013?

I'm trying to build Boost 1.55 with Visual Studio 2013. 1) I tried to use boost-binaries (boost-binaries), but Visual Studio wrote about the error, when I tried to compile: error LNK1104: cannot open file …
Maks
  • 2,393
  • 2
  • 26
  • 27
8
votes
1 answer

Boost.Python __init__() should return None, not 'NoneType'

I have a whole bunch of working C++ code that I want to write Python bindings for. I'm trying to use Boost.Python since it seems to be the easiest way to get this working, but it isn't cooperating. Here's part of the code for the extension module…
drodman
  • 615
  • 1
  • 10
  • 19
8
votes
2 answers

Change boost.build jamfile for C++11 support?

I have been using boost.build or b2 for building a project. I am trying to add C++11 contructs like auto and begin but the standard invokation b2 release in the directory with the Jamfile does not recognize these.
Humble Debugger
  • 4,079
  • 11
  • 36
  • 49
8
votes
1 answer

Using Boost in android ndk with windows

I am trying to use boost library with Android ndk in Eclipse with Windows. I tried to follow this tutorial I am stuck in the step with "bjam" command in cygwin. bjam --without-python --without-serialization toolset=gcc-android4.4.3 link=static…
user2508941
  • 235
  • 3
  • 11
8
votes
2 answers

Boost.Build/bjam and Qt

I'm trying to set up a Boost.Build .jamroot file for compiling a Qt 4.8 project, but it seems to be ignoring the.ui files and the .cpp files that should be moc:ed. I tried poking around inside qt4.jam, adding some more ECHO:s, but I'm not sure where…
tacospice
  • 537
  • 4
  • 15
7
votes
3 answers

C++ Build Environment using MinGW-w64 and Boost.Build

I'm currently porting one of my projects to GCC, and I'm using the MinGW-w64 project to accomplish this as I require both x64 and x86 support. I've hit a problem in setting up my build environment though. My project currently uses the Boost C++…
RaptorFactor
  • 2,610
  • 1
  • 24
  • 36
7
votes
1 answer

build dependent boost libs after doing bcp

So I'm using a set of boost libraries, but the sheer number of include files makes checking out a clean copy really slow. I'm sure most people who are using boost with svn have noticed this. I googled around for a little while to find a nice utility…
xaviersjs
  • 1,267
  • 1
  • 12
  • 19
7
votes
1 answer

how to create a new variant in bjam

I've tried reading the documentation but it is rather impenetrable so I'm hoping someone may have a simple answer. I want to define a new 'variant', based on 'debug', which just adds some macro definitions to the compiler command line, eg…
c-urchin
  • 3,895
  • 6
  • 25
  • 28
7
votes
1 answer

Reduce memory usage in boost build

I'm trying to build a C++ library on a linux system with constrained memory resources, using G++ 4.6. The library uses Boost heavily. I've seen various threads here and in other websites regarding compilation speed, but I'm interested in tips and…
cyberguijarro
  • 647
  • 8
  • 18
6
votes
3 answers

How to build boost 1.45 universal binaries?

How to build boost 1.45 universal binaries? on leopard/ snow leopard ?
Rajeshaz09
  • 137
  • 3
  • 9
1
2 3
9 10