Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install boost c++ libraries in OSX

I downloaded boostjam and put it in with the install files and tried to run it, the following error is displayed:

error: error: no Jamfile in current directory found, and no target references specified.

like image 673
node ninja Avatar asked Apr 26 '11 22:04

node ninja


2 Answers

The more modern package manager homebrew does this with a single

$ brew install boost
like image 76
ManuelSchneid3r Avatar answered Oct 19 '22 18:10

ManuelSchneid3r


If you first install MacPorts, you can install Boost with a single command:

sudo port install boost
like image 33
Ferruccio Avatar answered Oct 19 '22 18:10

Ferruccio