Search code examples
macosboostuniversal-binary

Boost: MacOSX binaries for Boost


Are there any MacOSX universal binaries (at least i386/ppc for >=macosx10.3) for Boost?


Solution

  • You can install Boost on Mac by using MacPorts.

    Once MacPorts is installed you just have to issue the following command:

    $ sudo port install boost+universal

    You can also ask MacPorts to build binary packages for you by either issuing:

    $ port pkg pstree
    

    or

    $ port dmg pstree
    

    The pkg or dmg files will be placed in a subfolder of /opt/local/var/macports/build


    EDIT: nowadays you can install it with brew

    $ brew install boost
    

    see also

    $ brew info boost