Installing Boost to custom directory

Installing Boost to custom directory

I have tried following&nbsp;<a href="https://www.boost.org/doc/libs/1_66_0/more/getting_started/unix-variants.html" target="_blank">the tutorial</a>&nbsp;Boost gives on their documentation for installing boost and have looked at a few other questions here to try to determine why I can't install Boost at a custom location. Perhaps I'm misunderstanding, but the&nbsp;<code>--prefix</code>&nbsp;option is supposed to specify where the Boost headers and libs will go, then&nbsp;<code>bootstrapper.sh</code>&nbsp;creates a&nbsp;<code>.jam</code>&nbsp;file that is used when&nbsp;<code>b2</code>&nbsp;or&nbsp;<code>bjam</code>&nbsp;is run.

I have tried following the tutorial Boost gives on their documentation for installing boost and have looked at a few other questions here to try to determine why I can't install Boost at a custom location. Perhaps I'm misunderstanding, but the --prefix option is supposed to specify where the Boost headers and libs will go, then bootstrapper.sh creates a .jam file that is used when b2 or bjam is run.

When I issue the following command

 ./bootstrap.sh --prefix="$HOME/dev/emulator/src/boost" --includedir=headers --libdir=dist --with-libraries=date_time

I see that the correct lines are added to the generated project-config.jam file

option.set prefix : /home/liam/dev/emulator/src/boost ;
option.set exec-prefix : /home/liam/dev/emulator/src/boost ;
option.set libdir : dist ;
option.set includedir : headers ;

However, when I run ./b2 as instructed by the documentation, it installs the Boost libraries to the source folder; i.e.

The following directory should be added to compiler include paths:

/home/liam/Downloads/brave/boost_1_66_0

The following directory should be added to linker library paths:

/home/liam/Downloads/brave/boost_1_66_0/stage/lib

And running ./b2 install gives me no file output to the intended directory either.

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

C/C++ vs. Rust: A developer’s perspective

In this post, you'll see the difference between Rust and C/C++ in a developer’s perspective

Variable Introduction in C#[Bangla]

LIKE | COMMENT | SHARE | SUBSCRIBE A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C# has a speci...