• 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: Using Boost in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Using Boost in XCode (From: Kevin Kratzke <email@hidden>)

  • Prev by Date: Re: Using Boost in XCode
  • Next by Date: Re: GCC 3.3 template compile error?
  • Previous by thread: Re: Using Boost in XCode
  • Next by thread: Re: Using Boost in XCode
  • Index(es):
    • Date
    • Thread