Re: boost library and Xcode...
Re: boost library and Xcode...
- Subject: Re: boost library and Xcode...
- From: "Peter Lau" <email@hidden>
- Date: Tue, 11 Dec 2007 16:14:13 -0500
On 12/11/07, Martin Cote <email@hidden> wrote:
> On Dec 11, 2007 3:18 PM, Peter Lau <email@hidden> wrote:
> >
> > On 12/11/07, Martin Cote <email@hidden> wrote:
> > > - Created a new C++ command-line tool project
> > > - Opened Project > Edit Project Settings
> > > - Added the boost path in 'Header Search Paths', make sure it is not
> > > recursive
> > >
> > > The project compiled fine with and without boost headers included. Did
> you
> > > do the same thing?
> >
> > I did exact the same thing except I am using Xcode 2.4.1 on 10.4.10...
> >
> > may be there's something I need to do?
>
> Hmmm, the only thing that I can see is that you checked the 'recursive
> search' option, in which case the iostream file in boost/tr1 would be found
> before the system one.
Ah... you are right. I just noticed I have recursive search set
(which is wrong) and looks like I need to provide the folder
"path/to/boost_1_34_1" to the header search path instead of
"path/to/boost_1_34_1/boost".
It seems to all work now... tried the "lexical_cast" (the reason why I
grabbed boost to become with) and result looks right.
Thanks Martin.
_______________________________________________
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