Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install doc boost fixes #144

Closed
wants to merge 7 commits into from
9 changes: 8 additions & 1 deletion Docs/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,18 @@ 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)

Expand Down
28 changes: 28 additions & 0 deletions Docs/Install_Ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,31 @@ 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>