Compile the latest boost1.39.0 or 1.35.0 in Ubuntu

Source: Internet
Author: User
First download boost1.39.0.zip, then decompress the file and use ssh to upload the decompressed boost library to Ubuntu, copy to/opt and run the command cp-a-r/home/server/boost/opt in Linux. then compile jamcdboost/tools/jam/Under boost to execute. /build_dist.sh // compile the jam file in bin. under linuxx86 1.39.

First download boost 1.39.0.zip

Decompress the file

Use ssh to upload to Ubuntu

Copy the decompressed boost library to/opt.

Use the Linux Command cp-a-r/home/server/boost/opt

Then compile jam under boost.

Cd boost/tools/jam/

Run./build_dist.sh

// Compile the jam file in bin. linuxx86.

1.39.0

Step 1:

./Bootstrap. sh

Step 2:

./Bjam-install -- build-dir = C: \ Cpp \ target toolset = gcc -- build-type = complete stage

Bjam-sTOOLS = gcc -- with-asio install

Then use the command to compile the boost Library

./Bjam "-sBUILD debug release" -- without-python

Compiled in Ubuntu

Cmake.

Make

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.