answersLogoWhite

0


Best Answer

Follow the instructions provided by the official Boost website (see related links below):

InstallationTo install Boost.Build from an official release or a nightly build, as available on the official web site, follow these steps:
  1. Unpack the release. On the command line, go to the root of the unpacked tree.
  2. Run either .\bootstrap.bat (on Windows), or ./bootstrap.sh (on other operating systems).
  3. Run ./b2 install --prefix=PREFIX where PREFIX is a directory where you want Boost.Build to be installed.
  4. Optionally, add PREFIX/bin to your PATH environment variable.

If you are not using a Boost.Build package, but rather the version bundled with the Boost C++ Libraries, the above commands should be run in the tools/build/v2 directory.

Now that Boost.Build is installed, you can try some of the examples. Copy PREFIX/share/boost-build/examples/hello to a different directory, then change to that directory and run: PREFIX/bin/b2

A simple executable should be built.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you install boost c plus plus library?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering
Related questions

How we can install the c and c plus plus?

You cannot 'install' programming languages. Instead, you can try to install a compiler or an IDE.


How do you run c or c plus plus in windows 7?

You should install a C or C++ compiler first.


What is the code to include a library in c plus plus?

#include <libraryname>


How do you get the c plus plus standard library on your compiler?

platform-dependent


How are Boost libraries useful in c plus plus?

Third-party C++ libraries in general are very useful. They provide us with types, algorithms and utilities that are not provided by the standard library alone and save us from continually having to "reinvent wheels". The standard library is specifically intended to be used by the vast majority of programmers across all fields of programming, whereas third-party libraries tend to be more specialised, providing support for graphics, sound and other proprietary hardware as well as types and algorithms that have more limited uses. However, although the Boost library is highly-specialised across a wide range of programming disciplines, many of its features have been incorporated into the standard library over the years. In some ways, the Boost library can be seen as a test-bed for future versions of the standard library as well as the language itself. However, due to its specialised nature, it will always remain separate from the standard library. Nevertheless, the Boost library is widely used and, if there's a feature you require that is not provided by the standard library, you will invariably find the Boost library either provides that feature directly or a third-party library makes use of the Boost library in order to provide that feature.


How do you enter a sentence as input in c plus plus?

Use the C++ getline() function from the standard library.


How can you install C plus plus compilers in Netbeans?

The Netbeans website provides a comprehensive FAQ detailing how to install the C/C++ plugin as well as integrating your chosen C/C++ compiler, linker and debugger package.


How do you fix maplestory visual C plus plus run time library?

Re-installing Maplestory in repair mode should fix the problem. If not, uninstall, clean the registry and hard-drive, then re-install.


What is the operator of power in c plus plus?

There is no "power" operator in C or C++. You need to the use the math library function pow().


How do you install curses header file in fedora Linux in order to use getch function in a c an c plus plus program?

dnf install ncurses-devel


Does your computer have visual basic c plus plus?

Basic and C++ are two different languages. You can have them both, but you need to install them. By default Windows OSes do not have it. When Linux based have an option to install C++ compiler.


What has the author Mark Nelson written?

Mark Nelson has written: 'C++ programmer's guide to the standard template library' -- subject(s): C++ (Computer program language), Standard template library, C. 'C [plus plus] programmer's guide to the Standard Template Library' -- subject(s): C.