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
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users