Sign in to follow this  
storage

Boost with Xcode (SOLVED)

Recommended Posts

storage    175
I must be a moron or something because I can't figure out how to build Boost and link it with my Xcode project. I have built it with bjam (atleast I think I have), but I don't know where to put all the files and how to link them to my project. Could anyone point me in the right direction, or preferably walk me through the process of building and linking Boost with Xcode? Thanks in advance! :) [Edited by - storage on October 25, 2005 12:48:14 PM]

Share this post


Link to post
Share on other sites
storage    175
I just downloaded bjam, put it in the downloaded Boost directory, and ran it. Thats all I did, couldn't figure out the rest.

Thanks :)

Share this post


Link to post
Share on other sites
storage    175
Sorry, I'm kind of tired and English is not my first language. I still have the same problem I had in the first post. What I mean with the other post was that I don't know what to do after running bjam.

Thanks

Share this post


Link to post
Share on other sites
SiCrane    11839
When you run bjam you use the install argument (like bjam install) and it should copy the library files into the /usr/local.

Share this post


Link to post
Share on other sites
storage    175
Thanks! That put the files in /usr/local, but when I try to include a file (say boost/shared_ptr.hpp) it says it can't be found. I don't know what to do next. I should probably add the Boost directories to Xcode's list of directories containing libraries and headers and stuff (can't remember what they are called at the moment, still tired).

Sorry if I'm a real newbie, but I've just semi-recently started programming on the Mac platform.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this