Build Boost on Mac with Xcode

前端 未结 7 499
长发绾君心
长发绾君心 2020-12-05 11:09

I\'ve recently got acquainted with Boost library and I\'d like to use it in my Xcode project. But sadly there is no HowTo or FAQ on how to do it :(

What\'s the seque

7条回答
  •  时光取名叫无心
    2020-12-05 11:48

    I don't know how to use Boost from XCode (I'm not a Mac programmer), but building boost is usually done through their own build tool, bjam.

    They have a guide to building boost here, and you can download the latest version of bjam here

    Once it is built, you reference it from Xcode the same way you would any other library. The boost/include should be added to your include path, and the libraries in boost/lib can be referenced for the boost libs that require it.

提交回复
热议问题