elyase
elyase

Reputation: 40993

Can't find bjam in boost homebrew installation

I installed Boost with homebrew(brew install boost) on my Mac running Lion with the purpose of extending python with an existing C++ program I have. Now I can't follow the starting guide because 1 - I don't have 'bjam' installed in my system and 2-I don't see the examples folder anywhere. My question is: how I am supposed to do the the c++-python linking with this homebrew installation without 'bjam'? is there some alternative method I should use or something I am missing here?

Upvotes: 5

Views: 2624

Answers (3)

elyase
elyase

Reputation: 40993

The right formula to install boost for linking c++ with python programs is:
brew install boost-build
as pointed out by senderle in the comments to my question. This installs bjam automatically.

Upvotes: 12

thedaver64
thedaver64

Reputation: 179

It should just be a case of downloading Boost then running "Bootstrap" followed by "Bjam".

Bootstrap should build you a Bjam executable in the Boost folder.

Upvotes: 0

Joshua Vega
Joshua Vega

Reputation: 599

For Windows, you go into $(BoostDir)\tools\build\v2\engine and run build.bat which automatically builds bjam (into the bin.ntx86 directory on windows). There is a build.sh file there too, but I've never used a Mac so I don't know if that will work for you. Otherwise, just do a Google search for a precompiled bjam executable for Mac OS X.

Upvotes: 0

Related Questions