Quickly compile the desired boos Library

Source: Internet
Author: User

1. Download the boost package

2. Enter the root directory for extraction.

3. Run Bootstrap (run Bootstrap. bat on Windows)

4. Compile the library you want to use:

Variant = release/debug indicates whether the library you generated has debugging information.

Link = static/shared indicates whether the library you generated is a static library or a dynamic library.

Runtime-link = static/shared indicates whether your library is linked to a static or dynamic Runtime Library;

You can specify the Master name of a library you want to compile, such as filesystem, as shown in the following code:

Cd d: \ project \ boost_000055_0 \

Bootstrap

. \ B2 variant = release link = static runtime-link = static filesystem

You can get

"D: \ project \ boost_rj55_0 \ stage \ Lib \ libboost_filesystem-vc100-mt-s-1_55.lib"


You can obtain

"D: \ project \ boost_rj55_0 \ stage \ Lib \ libboost_filesystem-vc100-mt-1_55.lib"

"D: \ project \ boost_rj55_0 \ stage \ Lib \ libboost_filesystem-vc100-mt-gd-1_55.lib"

"D: \ project \ boost_rj55_0 \ stage \ Lib \ libboost_filesystem-vc100-mt-sgd-1_55.lib"

This article is from the "Notes" blog, please be sure to keep this source http://dmx512.blog.51cto.com/7672137/1545060

Quickly compile the desired boos Library

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.