If you followed those instructions you linked exactly, make sure that your xcode project is setup to build with C++11 / libc++.

It might be worth it to download cinder and look at how it's project settings...


On Mon, May 27, 2013 at 1:34 AM, B Hart <bhartsb@gmail.com> wrote:
I downloaded boost 1.53 and extracted to Users/user/Desktop/boost_1_53_0
I built boost as static libraries following instructions at: http://libcinder.org/docs/v0.8.5/_cinder_boost.html

I changed XCODE's "Build Settings" "Header Search Paths" to /Users/user/Desktop/boost_1_53_0 as well as the "Library Search Paths" to Users/user/Desktop/boost_1_53_0/stage/lib

Then I build and get errors:

The first error I'm getting is  "has_binary_operator.hpp" Parse issue Expected member name or ';' after declaration specifiers at the line:

template < typename Lhs, typename Rhs >

struct operator_exists {

...

Does anyone have tips for what the build settings should be? The project contains some files that are cocoa/objective C (.m) and others that are C++(.mm) using boost. I'm completely new to trying to use boost under OSX mountain lion and XCODE 4.6.1.


_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users