After trying several solutions I think I need some help on understanding how to build Boost properly for Mac OSX Lion, building a crossplatform app on XCode 4 with no success =s
I've followed this guide. And did the following commands in sequence:
cd /Users/me/Documents/boost_1_53_0
./bootstrap.sh --prefix=installation
cd /Users/me/Documents/boost_1_53_0/tools/build/v2
./bootstrap.sh
./b2 install --prefix=installation
export PATH=$PATH:installation/bin
cd /Users/me/Documents/boost_1_53_0
./b2 --build-dir=installation toolset=darwin cxxflags="-arch i386" address-model=32 architecture=x86 stage
I got the error in the title of the question after attempting to compile an app on XCode, with these edits:
Added these libs to the "Link Binary With Libraries" under "Build Phases":
libboost_filesystem.dylib
libboost_system.dylib
And added "$(SRCROOT)/../boost_1_53_0" to the Header and Library Search Paths.
Looking at some other questions here on Stackoverflow lots of people seem to build boosts with makefiles and passing things like LDFLAGS=-L/opt/local/lib in the makefile;
Where can I find a good tutorial or example for building boost? I have no experience with crafting makefiles of my own, although I have messed with some with a few simple edits here and there.