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?   Boost



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


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 *