Search code examples
c++macosboostmacports

what is the default location for boost library when installed using macport on mac ?


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 boost library got installed to.
Where should it be / how could I search for it?


Solution

  • 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