bjam is the old name of the engine used by Boost.Build The new name is b2
Questions tagged [bjam]
263 questions
3
votes
1 answer
Getting a buildable Boost extract with bcp
I'm using bcp to extract Boost.Archive from Boost. Unfortunately I can't build this extract. Boost.Archive is not a header-only library.
bjam complains
Unable to load Boost.Build: could not find "boost-build.jam"
Is there any way to tell bcp to…

Jan Deinhard
- 19,645
- 24
- 81
- 137
3
votes
1 answer
Specifying IPHONEOS_DEPLOYMENT_TARGET for Boost Bjam iOS
I use this project to build boost for iOS: https://github.com/danoli3/ofxiOSBoost/blob/master/scripts/build-libc%2B%2B
My client project is set with:
IPHONEOS_DEPLOYMENT_TARGET = 7.0
Base SDK = 9.2
I get the following warnings when I link against…

ssk
- 9,045
- 26
- 96
- 169
3
votes
2 answers
Combining multiple static libraries into single share library in Boost Jam file
Hi I have following project hirarcy:
-Top
------lib1
----------Jamfile
------lib2
----------Jamfile
------Jamroot
Both the libs:lib1 and lib2 are static libs(.a) and their Jamfile consist of following command:
lib $(library) : [ glob *.cpp ] :…

elite21
- 757
- 8
- 9
3
votes
2 answers
error LNK2019: unresolved external symbol "class boost::system::error_category
I am on Visual Studio 2013, downloaded the regular boost libraries (version 1.55) and installed them to C:/Program Files/Boost/
I then created a new empty C++ project and added the following to my "Include Directories":
C:\Program…

user997112
- 29,025
- 43
- 182
- 361
3
votes
1 answer
Including System Libraries with Bjam for Boost.Python
This is probably a really basic question but I haven't been able to find a solution anywhere. I'm building a Python extension in C++ using Boost.Python and need to link my project with libpcap, but nothing I specify seems to point bjam to the…

drodman
- 645
- 1
- 10
- 19
3
votes
1 answer
How to compile Boost (and link?) libraries in cygwin windows7 i686-w64-mingw32-g++ with bjam
Problem compile boost to use it in cygwin environement with jam
Environement and my skills
First of all thank you for reading my message and I use windows 7 pentium i3 cygwin i686-w64-mingw32-g++. I am a beginner (10 000 lines of c c++ basic code,…

user2964288
- 83
- 1
- 11
3
votes
1 answer
How to configure Boost.Python using bjam syntax?
I am trying to using Boost.Python.
My system is:
Visual Studio 2012 + Windows7 64-bit + Python 2.7.5 32-bit + Boost 1.54.
Now, I think the Boost.Python is installed, and I can find .dll and .lib files at C:\local\boost_1_54_0\lib32-msvc-11.0, such…

ChangeMyName
- 7,018
- 14
- 56
- 93
3
votes
1 answer
Specifying Boost.build built-in features in jam-file
How do I specify Boost.build built-in features in a jam-file (user-config.jam) to be used for building the Boost library? For example I may use b2 from VS command prompt to build boost using
b2 link=shared threading=multi address-model=64
and I…

Dmitrii S.
- 479
- 1
- 5
- 17
3
votes
1 answer
Error compiling Boost.Python quickstart
I've been trying to compile the Boost.Python 'quickstart' ($BOOST_PATH\libs\python\examples\quickstart) examples and have run into an issue.
First, my environment:
OS: Windows 7 Ultimate 64 bit
Python version: 2.7 32 bit
C++ Compiler: VC10
Boost…

Josh
- 203
- 1
- 2
- 7
3
votes
2 answers
Change GCC version used by bjam
I am trying to build a library (luabind) with bjam. I came across an error and it seems like the problem is that I need to compile with gcc 4.2, but the default on this computer (Mac OSX) is 4.0. I would prefer not to go around changing links in…
Joe Bain
3
votes
1 answer
Boost's bjam is running tests before the build has finished
I have a fairly simple Boost.Python extension that I am building with bjam. The problem is that the order that things happen in doesn't make sense to me, and I can't see how to fix it.
My project consists of a root directory, with a Jamroot, and a…

davidA
- 12,528
- 9
- 64
- 96
3
votes
1 answer
Build with Boost.build and link against boost
As I am starting a project with boost lib, it seems my set-up isn't working :
main.cpp :
#include
int main(int argc, char* argv[])
{
boost::asio::io_service io_service_;
return 0;
}
Jamfile :
exe node
: main.cpp ;
bjam…

etnbrd
- 471
- 6
- 18
3
votes
1 answer
How can I get bjam to find my .h files in other directories
I'm maintaining this solution in Visual Studio 2008, but I build my deliverables with bjam.
The solution includes 3 projects.
jamfiles are setup to build 2 versions of the solution (say A and B), and then 32-bit and 64-bit executables for each…

falconK
- 271
- 1
- 2
- 11
2
votes
1 answer
Change gcc compiler executable name in BJam
How to change compiler executable name? I want to perform a "fake build" of some products which are using BJam as build system. (For example: the Boost itself) In this "fake build" I want some special command to be called instead of g++. (with all…

okutane
- 13,754
- 10
- 59
- 67
2
votes
1 answer
rule to get bjam's callstack or why am I registering 2 identic generators
Is there a rule that returns the current call in bjam ?
I know if you call "bjam.exe -d+10 ..." it will print you the callstack but your own ECHO's not.
What I intend to do is print the callstack in generators.register or any other rules from…

costy.petrisor
- 783
- 7
- 17