• 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: Paul Walmsley <email@hidden>
  • Date: Mon, 22 Oct 2007 16:34:11 +0100


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
If you unzip boost to a directory such as /source/boost then be aware that there inside there is another directory called boost which is where the headers reside (ie /source/boost/boost) , so you'll need to add /source/boost as your include path and then it will work fine.

The other caveat to be aware of with boost is that some of the libraries have to be built before they can be used (you'll know whether there's anything you need to build if you get a link error). See http://www.boost.org/more/getting_started/unix-variants.html for mac-specific info.

Other than that, boost works very well with Xcode.

Paul
_______________________________________________
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: hdiutil attach fails under some repeatable circumstances
  • Next by Date: terminal app always comes up with a specific file in vi
  • Previous by thread: Re: Using Boost in XCode
  • Next by thread: Re: Using Boost in XCode
  • Index(es):
    • Date
    • Thread