Using Boost with Xcode4
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/
- Download the boost libraries for unix from : http://www.boost.org/
- Unzip it : Let's say now you have boost in "($USER_NAME)/boost_X_YY_0"
- Open your console Application project
- Click on top left node in the project directory pane (left hand side). This should be your project name
- Build Settings -> Search Paths -> Header Search Paths ->Add the "($USER_NAME)/boost_X_YY_0" path
- #include "boost/any.hpp" will work