Using Boost with Xcode4

后端 未结 3 525
天涯浪人
天涯浪人 2021-01-31 22:25

has anyone setup a C++ Xcode4 project to use Boost? what settings do I need to set in Xcode for a simple C++ console application?

Thanks

3条回答
  •  既然无缘
    2021-01-31 23:15

    I would just like to add on to the previous post:

    After running

    $ sudo port install boost (this can be done once you have macports installed).

    libboost_system.dylib and libboost_filesystem.dylib could be found in /opt/local/lib/

    boost_1_46_1.tar.bz2 will be located in /opt/local/var/macports/distfiles/boost/ Unarchive it, then copy and paste the folder named "Boost" to /usr/local/include/

提交回复
热议问题