Skip to content

Commit

Permalink
install doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdelHeddadji committed Nov 6, 2023
1 parent 5710900 commit b31306e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Docs/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ make check CARLA=../carla
conda activate carla13 # will need to run this ONCE before opening a new terminal!
conda install numpy
```
- **READ THIS FIRST (Linux)**: You might run into a problem when compiling Boost 1.72.0 (required by `LibCarla`).
- **READ THIS FIRST (Linux)**: You might run into a problem when compiling Boost 1.72.0 (required by `LibCarla`).
<details>
<summary> Show instructions to get Anaconda working on Linux </summary>
Expand All @@ -273,14 +273,16 @@ make check CARLA=../carla
... PATH/TO/ANACONDA/envs/carla/bin/python3 # example output
# go to carla/install dir from here
cd PATH/TO/ANACONDA/envs/carla/install
cd PATH/TO/ANACONDA/envs/carla/include
# create a symlink between python3.7 -> python3.7m
ln -s python3.7m python3.7
```
Install `boost_1_72_0.tar.gz` manually from https://github.com/jerry73204/carla/releases/tag/fix-boost and place file in `Build/boost_1_72_0.tar.gz`
Open `Util/BuildTools/Setup.sh` (or `Util/BuildTools/Setup.bat` on Windows)
Find the section named `Get boost` includes and comment out the `wget` lines.
Now when you `make LibCarla` again, the `boost` errors should be resolved.
- For more information see the bottom of this [SO post](https://stackoverflow.com/questions/42839382/failing-to-install-boost-in-python-pyconfig-h-not-found)
</details>
- **READ THIS FIRST (Windows)**: Windows anaconda is a bit more of a pain to deal with.
Expand Down
23 changes: 23 additions & 0 deletions Docs/Install_Ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,26 @@ Follow the rest of the instructions from the [tutorial](https://carla.readthedoc


Now that you have a working CARLA 0.9.13 build, go back to the [DReyeVR installation guide](https://github.com/HARPLab/DReyeVR/blob/main/Docs/Install.md) and follow the rest of the steps to install DReyeVR on top of it.

- **READ THIS FIRST (Linux)**: You might run into a problem when compiling Boost 1.72.0 (required by `LibCarla`).
<details>

<summary> Show instructions to get Anaconda working on Linux </summary>

- ```bash
# find anaconda install:
which python3
... PATH/TO/ANACONDA/envs/carla/bin/python3 # example output

# go to carla/install dir from here
cd PATH/TO/ANACONDA/envs/carla/include

# create a symlink between python3.7 -> python3.7m
ln -s python3.7m python3.7
```
Install `boost_1_72_0.tar.gz` manually from https://github.com/jerry73204/carla/releases/tag/fix-boost and place file in `Build/boost_1_72_0.tar.gz`
Open `Util/BuildTools/Setup.sh` (or `Util/BuildTools/Setup.bat` on Windows)
Find the section named `Get boost` includes and comment out the `wget` lines.
Now when you `make LibCarla` again, the `boost` errors should be resolved.
- For more information see the bottom of this [SO post](https://stackoverflow.com/questions/42839382/failing-to-install-boost-in-python-pyconfig-h-not-found)
</details>

0 comments on commit b31306e

Please sign in to comment.