• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: boost library and Xcode...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: boost library and Xcode...


  • Subject: Re: boost library and Xcode...
  • From: "Peter Lau" <email@hidden>
  • Date: Tue, 11 Dec 2007 14:55:20 -0500

On 12/11/07, Martin Cote <email@hidden> wrote:

> On Dec 11, 2007 2:01 PM, Peter Lau <email@hidden> wrote:
> > I started to compile the sample project (without adding any file to
> > the project or editing the main.cpp" and I got errors already:
> >
> > from boost_1_34_1/boost/tr1/tr1/iostream:18,
> >  from /usr/include/c++/4.0.0/iostream:44,
> >
> [...]
>
>  This is weird.  Are you including <iostream> from main.cpp?  Xcode seems to
> have found the iostream in boost/tr1, but it shouldn't.  Have you verified
> you include search paths?

The project is straight from the vanilla C++ Tool project under "New
Project...".  I verified the sample project can be compiled, linked
and run without problem before I add the path.

I just added the boost folder location as part of the header search
paths (last from the Xcode GUI in fact) and it gave me error already.

And yes, the sample project came with some code:

  #include <iostream>

  int main (int argc, char * const argv[]) {
      // insert code here...
      std::cout << "Hello, World!\n";
      return 0;
  }

I tried on a G4 and Mac Pro and got the same result...

I still think it's just a set up issue except boost is so "rich" that
I don't even know where to look...
 _______________________________________________
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

  • Follow-Ups:
    • Re: boost library and Xcode...
      • From: "Martin Cote" <email@hidden>
References: 
 >boost library and Xcode... (From: "Peter Lau" <email@hidden>)
 >Re: boost library and Xcode... (From: "Martin Cote" <email@hidden>)

  • Prev by Date: Re: postflight problems installing 2.5 on Tiger
  • Next by Date: Re: boost library and Xcode...
  • Previous by thread: Re: boost library and Xcode...
  • Next by thread: Re: boost library and Xcode...
  • Index(es):
    • Date
    • Thread