Add more install instructions of Boost to README
This commit is contained in:
parent
dc3400197f
commit
5876be4b24
14
README.md
14
README.md
@ -18,12 +18,24 @@ The best option is install the packages that the Linux distribution have in its
|
|||||||
sudo dnf install boost-devel
|
sudo dnf install boost-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
If this is not possible and the compressed packaged is installed, the following environment variable has to be set:
|
If this is not possible and the compressed packaged is installed, the following environment variable has to be set pointing to the folder where it was unzipped to:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export BOOST_ROOT=/path/to/library/
|
export BOOST_ROOT=/path/to/library/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In some cases, it is needed to build the library, to do so:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd /path/to/library
|
||||||
|
mkdir own
|
||||||
|
./bootstrap.sh --prefix=/path/to/library/own
|
||||||
|
./b2 install
|
||||||
|
export BOOST_ROOT=/path/to/library/own/
|
||||||
|
```
|
||||||
|
|
||||||
|
Don't forget to add the export BOOST_ROOT statement to .bashrc or wherever it is meant to be.
|
||||||
|
|
||||||
### libxlswriter
|
### libxlswriter
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user