boost – c++ libraries

What’s this?

Boost provides free peer-reviewed portable C++ source libraries. In a word, Productivity. Use of high-quality libraries like Boost speeds initial development, results in fewer bugs, reduces reinvention-of-the-wheel, and cuts long-term maintenance costs. And since Boost libraries tend to become de facto or de jure standards, many programmers are already familiar with them.

How to install?

http://www.linuxfromscratch.org/blfs/view/svn/general/boost.html   Boost

配置/使用方法:

1.下载.tar.gz源代码

2../bootstrap.sh; ./b2 -j12 install –prefix=/path/to/your/directory (link=shared)

3.头文件:include”绝对路径”

4.库文件:-L -l指定;

5.编译:gcc/g++ -L/path/to/your/directory/lib -lxxx a.cpp -o a

Leave a Reply

Your email address will not be published. Required fields are marked *