Home > Backend Development > C++ > How to Complete the Boost_1_60_0 Installation on Windows 7?

How to Complete the Boost_1_60_0 Installation on Windows 7?

Patricia Arquette
Release: 2024-11-04 15:00:15
Original
1101 people have browsed it

How to Complete the Boost_1_60_0 Installation on Windows 7?

boost_1_60_0.zip Installation on Windows

You have encountered difficulties after following some steps to install boost_1_60_0 on Windows 7. This article aims to provide further guidance and clarify the remaining steps required for the installation process.

Next Steps:

Since you have already successfully executed the initial steps, you need to proceed with the following:

  1. Create a BOOSt_ROOT environment variable that points to the location of the boost directory (e.g., C:boost_1_60_0). This is recommended for proper referencing by other applications.
  2. Based on your desired build type, choose one of the following b2 commands and execute it in the command prompt:

    • For static libraries:

      b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=static threading=multi runtime-link=shared --build-type=complete stage
      2>&1 | tee msvc_static_build.txt
      Copy after login
    • For dynamic thread library:

      b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=shared threading=multi runtime-link=shared --with-thread --build-type=minimal stage
      2>&1 | tee msvc_thread_build.txt
      Copy after login
    • For all as dynamic libraries:

      b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=shared threading=multi runtime-link=shared --build-type=complete stage
      2>&1 | tee msvc_dynamic_build.txt
      Copy after login

Remember to replace "msvc-14.0" with the correct Visual Studio toolset version if necessary.

The above is the detailed content of How to Complete the Boost_1_60_0 Installation on Windows 7?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template