Re: Using Boost in XCode
Re: Using Boost in XCode
- Subject: Re: Using Boost in XCode
- From: Paul Walmsley <email@hidden>
- Date: Mon, 22 Oct 2007 16:34:11 +0100
I have a command line program I'm moving over from Windows. It uses
the Boost and Gil (Adobe) libraries but I'm having a hard time getting
Xcode to play nice with Boost. The show stopper right now is that it
says the includes are not there even though they are. Fore example,
#include <boost/mpl/begin.hpp
gives the compilation error:
error: boost/mpl/begin.hpp No such file or directory
If you unzip boost to a directory such as /source/boost then be aware
that there inside there is another directory called boost which is where
the headers reside (ie /source/boost/boost) , so you'll need to add
/source/boost as your include path and then it will work fine.
The other caveat to be aware of with boost is that some of the libraries
have to be built before they can be used (you'll know whether there's
anything you need to build if you get a link error). See
http://www.boost.org/more/getting_started/unix-variants.html for
mac-specific info.
Other than that, boost works very well with Xcode.
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden