1:
sudo apt-get install libboost-dev libboost-dbg libboost-doc bcp libboost-*
这个直接就装好了。。。
2:
boost 有些头文件是不需要调用链接库的。。。 就比如说bind 应为他们是纯模板实现。。。 实现在头文件里咯
3:
记得要在gcc C++ linker 中 添加需要的 链接库名字