![]() |
||
---|---|---|
Content/PostProcessingMaterials | ||
Resources | ||
Source/Carla | ||
Util | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
Carla.uplugin | ||
Doxyfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
Setup.sh |
README.md
CARLA
Plugin for Unreal Engine 4.
Setup
Linux
The following has been tested only in Ubuntu 16.04.
Install clang 3.9
sudo apt-get install -y build-essential
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update
sudo apt-get install -y clang-3.9 clang++-3.9
You may need to change your default clang version to compile Unreal
sudo ln -s /usr/bin/clang-3.9 /usr/bin/clang
sudo ln -s /usr/bin/clang++-3.9 /usr/bin/clang++
Download and install Unreal Engine 4.17
git clone --depth=1 -b 4.17 https://github.com/EpicGames/UnrealEngine.git ~/UnrealEngine_4.17
cd ~/UnrealEngine_4.17
./Setup.sh && ./GenerateProjects.sh && make
Clone CARLA to your project
cd path/to/your/ue4-project
mkdir -p Plugins && cd Plugins
git clone --depth=1 https://bitbucket.org/carla-cvc/carla-ue4-plugin Carla
cd Carla
Now run Setup,sh (will build all the dependencies, takes a while) and make
./Setup.sh
make
Recommended to do a check to see if everything worked fine
make check
Now build your project with Unreal normally.
Windows
A setup script is not yet available. You need to compile yourself boost, protobuf and googletest, and install them under ./Util/Build as
Util/
Build/
boost-install/
googletest-install/
protobuf-install/
Once the dependencies are there, run
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
make