Close #17, extra dependencies missing

This commit is contained in:
nsubiron 2017-11-13 14:55:06 +01:00
parent ca3f02255e
commit e141ab2d26
1 changed files with 5 additions and 9 deletions

View File

@ -1,22 +1,18 @@
How to build CARLA on Linux How to build CARLA on Linux
=========================== ===========================
This guide has been tested only on Ubuntu 16.04. !!! note
CARLA requires Ubuntu 16.04 or later.
Install the build tools and dependencies Install the build tools and dependencies
$ sudo apt-get install build-essential cmake ninja-build python3-pip python-dev curl autoconf libtool $ sudo apt-get install build-essential clang-3.9 git cmake ninja-build python3-pip python3-requests python-dev tzdata curl wget unzip autoconf libtool
$ sudo pip3 install protobuf $ sudo pip3 install protobuf
To avoid compatibility issues between Unreal Engine and the CARLA dependencies, To avoid compatibility issues between Unreal Engine and the CARLA dependencies,
the best configuration is to compile everything with the same compiler version the best configuration is to compile everything with the same compiler version
and C++ runtime library. We use clang 3.9 and LLVM's libc++. and C++ runtime library. We use clang 3.9 and LLVM's libc++. You may need to
change your default clang version to compile Unreal
Install clang 3.9
$ sudo apt-get install clang-3.9
You may need to change your default clang version to compile Unreal
$ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-3.9/bin/clang++ 100 $ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-3.9/bin/clang++ 100
$ sudo update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-3.9/bin/clang 100 $ sudo update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-3.9/bin/clang 100