Boost logo

Boost Users :

Subject: Re: [Boost-users] How to Boost static lib build under Mountain Lion and XCODE 4.6
From: B Hart (bhartsb_at_[hidden])
Date: 2013-05-27 01:17:32


Actually though I'm now getting build errors in my application. I changed
the "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

The errors I'm getting are related to "has_binary_operator.hpp" Parse issue
Expected member name or ';' after declaration specifiers at the line:

template < typename Lhs, typename Rhs >

struct operator_exists {

On Sat, May 25, 2013 at 10:29 PM, B Hart <bhartsb_at_[hidden]> wrote:

> Sorry to respond so late, but thank you for these instructions...they work!
>
>
> On Wed, May 15, 2013 at 9:14 PM, Rich E <reakinator_at_[hidden]> wrote:
>
>> Here are the instructions we use for building the boost binaries used for
>> cinder:
>>
>> http://libcinder.org/docs/v0.8.5/_cinder_boost.html
>>
>> It covers Mac OS X, iOS, Microsoft vc10 and vc11.
>>
>> cheers,
>> Rich
>>
>>
>> On Wed, May 15, 2013 at 2:11 PM, B Hart <bhartsb_at_[hidden]> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to install and use Boost 1_53_0 on MAC OS X Mountain Lion and
>>> use it with the latest XCODE 4.6.x. I want to port a small MS VS MFC C++
>>> app. I developed on Windows to MAC.
>>>
>>> Specifically I need to install and build boost as static libraries. I'm
>>> completely new to programming on the MAC side of things. I understand that
>>> XCODE now uses
>>> LLVM Clang, with libc++ and not GCC. I've used GCC on Linux.
>>>
>>> I started following the instructions at:
>>>
>>> http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html
>>>
>>> but quickly ran into trouble. Does anyone have detailed instructions
>>> for how to install and compile boost statically under Mountain Lion and
>>> XCode 4.6?
>>>
>>> Below is the terminal input and output showing how far I got.
>>>
>>> Thanks.
>>>
>>> Terminal IO:
>>>
>>> ./bootstrap.sh --with-bjam=BJAM --with-toolset=TOOLSET
>>>
>>>
>>> users-Mac-mini:boost_1_53_0 user$ ./bootstrap --with-bjam=BJAM
>>> --with-toolset=TOOLSET
>>>
>>> -bash: ./bootstrap: No such file or directory
>>>
>>> users-Mac-mini:boost_1_53_0 user$ ./bootstrap.sh --with-bjam=BJAM
>>> --with-toolset=TOOLSET
>>>
>>> -n Detecting Python version...
>>>
>>> 2.7
>>>
>>> -n Detecting Python root...
>>>
>>> /System/Library/Frameworks/Python.framework/Versions/2.7
>>>
>>> -n Unicode/ICU support for Boost.Regex?...
>>>
>>> not found.
>>>
>>> Generating Boost.Build configuration in project-config.jam...
>>>
>>>
>>> Bootstrapping is done. To build, run:
>>>
>>>
>>> ./b2
>>>
>>>
>>>
>>> To adjust configuration, edit 'project-config.jam'.
>>>
>>> Further information:
>>>
>>>
>>> - Command line help:
>>>
>>> ./b2 --help
>>>
>>>
>>>
>>> - Getting started guide:
>>>
>>> http://www.boost.org/more/getting_started/unix-variants.html
>>>
>>>
>>>
>>> - Boost.Build documentation:
>>>
>>> http://www.boost.org/boost-build2/doc/html/index.html
>>>
>>>
>>> users-Mac-mini:boost_1_53_0 user$ ./b2 link=static threading=multi
>>> toolset=darwin cxxflags="-arch i386 -arch x86_64" macosx-version=10.6 stage
>>>
>>> -bash: ./b2: No such file or directory
>>>
>>> _______________________________________________
>>> Boost-users mailing list
>>> Boost-users_at_[hidden]
>>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>>
>>
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net