用的boost 1.55.0,编译很容易。进入boost目录,执行
./bootstrap.sh
./b2
yingfengdeMacBook-Pro:~ yingfeng$ cd /Users/yingfeng/Documents/OgreBuild/boost_1_56_0
yingfengdeMacBook-Pro:boost_1_56_0 yingfeng$ ./bootstrap.sh
yingfengdeMacBook-Pro:boost_1_56_0 yingfeng$ ./b2
成功后:
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/Users/yingfeng/Documents/OgreBuild/boost_1_56_0
The following directory should be added to linker library paths:
/Users/yingfeng/Documents/OgreBuild/boost_1_56_0/stage/lib