Re: Using Boost in XCode
Re: Using Boost in XCode
- Subject: Re: Using Boost in XCode
- From: Fritz Anderson <email@hidden>
- Date: Sat, 20 Oct 2007 15:38:39 -0500
On 20 Oct 2007, at 3:02 PM, Kevin Kratzke wrote:
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
But it is there and that is the location.
Try this: Double-click on the project icon in your project window's
Groups & Files list.
Select the Build tab in the resulting Info window.
In the search field type "search." Find the entry for "Header Search
Paths."
Edit that entry so it includes the path to whatever directory contains
the boost/ directory mentioned in your #include.
If you have to share the project among users, each with their own
copies of Boost, read up on Source Trees. For instance define a BOOST
source tree and specify the header search path relative to "$
{BOOST}" (including the quotes). Each developer will have to fill in
the Boost source tree, but the project will be insulated from such
variations.
— F
_______________________________________________
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