• 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: Xcode 3.1 and boost
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 3.1 and boost


  • Subject: Re: Xcode 3.1 and boost
  • From: "Eric Miller" <email@hidden>
  • Date: Wed, 23 Jul 2008 08:31:35 -0400

Hi,

The include path should point to the parent of the 'boost' directory.
And you should use #include <boost/scoped_ptr.hpp> in your source.
All the boost libraries should be included this way.  It helps prevent
file name collisions on the include path (think of it as a namespace).
The boost libraries internally expect the include path to be set up this way.

Eric

On Wed, Jul 23, 2008 at 12:17 AM, Mastalir, George
<email@hidden> wrote:
> I'm getting the following error message from Xcode 3.1 when including the
> boost file "scoped_ptr.hpp".
>
> /projects/br-sidewinder/retrospect/engine/engine_osx/../boost/scoped_ptr.hpp:14:28:
> error: boost/assert.hpp: No such file or directory
> /projects/br-sidewinder/retrospect/engine/engine_osx/../boost/scoped_ptr.hpp:15:36:
> error: boost/checked_delete.hpp: No such file or directory
> /projects/br-sidewinder/retrospect/engine/engine_osx/../boost/scoped_ptr.hpp:16:39:
> error: boost/detail/workaround.hpp: No such file or directory
>
> The problem seems to be locating some additional files nested inside of
> boost. I've updated the build setting "Header Search Paths" to point to
> "../boost" and the boost directory itself is located at the same level as
> the rest of my sources. I've also tried setting "User Header Search Paths"
> to point to "../boost" but had no luck there either. Hard coding the path to
> boost doesn't work either and is not a solution I'm content to settle with
> anyway.
>
> There were some similar questions posted on this list regarding the same
> issue, but none of the answers provided have worked for me. This may have
> something to do with how gcc handles angle brackets (boost uses them
> exclusively), but I haven't found any good explanations of that in my
> research so far. Anyone have an eye for what I'm doing wrong?
>
> Thanks for any help in advance,
>
> --George
>  _______________________________________________
> 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
>
 _______________________________________________
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: Xcode 3.1 and boost
      • From: "Mastalir, George" <email@hidden>
References: 
 >Xcode 3.1 and boost (From: "Mastalir, George" <email@hidden>)

  • Prev by Date: Re: Gcc warning instead of error
  • Next by Date: Re: Gcc warning instead of error
  • Previous by thread: Re: Xcode 3.1 and boost
  • Next by thread: Re: Xcode 3.1 and boost
  • Index(es):
    • Date
    • Thread