I just now installed boost on mac, using macport with following command
sudo port install boost
It\'s installed fine, but I have no idea where
The headers should be in /usr/local/include/boost
and the libs should be in /usr/local/lib.
Or in /opt/local/include/boost
and /opt/local/lib
, I believe.
You can search using locate
:
locate boost
For me, with High Sierra and MacPorts 2.4.4, MacPorts installed Boost 1.66 under:
/opt/local/include/boost
Default is /usr/local/lib /usr/local/include
You might want to rebuild the libs using the clang toolchain
./bjam toolset=clang
and then do a manual install in a specific location especially if you want to switch between versions (for source control or testing etc)
> find . -name boost
also works
Using the macOS Sierra 10.13.5
, installed boost
with brew
. location in /usr/local/include/