Unable to find bjam in homebrew boost installation

I installed Boost with homebrew ( brew install boost ) on my Mac running Lion, in order to extend python with the existing C ++ program that I have. Now I can not complete the beginning of the manual , because 1 - I do not have "bjam" installed on my system, and 2 I can not see the examples folder anywhere. My question is: how should I do C ++ python associated with this homebrew installation without "bjam"? Is there some alternative method that I should use, or something that I am missing here?

+4
source share
3 answers

The correct formula for installing boost to bind C ++ with python programs is:
brew install boost-build
as senderle pointed out in the comments on my question. This automatically installs bjam .

+13
source

For Windows, you go to $ (BoostDir) \ tools \ build \ v2 \ engine and run build.bat, which automatically creates bjam (in the bin.ntx86 directory on windows). There is also a build.sh file there, but I never used a Mac, so I donโ€™t know if this will work for you. Otherwise, just do a Google search for the pre-compiled bjam executable for Mac OS X.

0
source

This should be the case of loading Boost and then launching โ€œBootstrapโ€ followed by โ€œBjamโ€.

Bootstrap should create a Bjam executable in the Boost folder.

0
source

Source: https://habr.com/ru/post/1411181/


All Articles