C/C++教程

ubuntu18.04安装CARLA+CARLA-ROS-BRIDGE

本文主要是介绍ubuntu18.04安装CARLA+CARLA-ROS-BRIDGE,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

一,安装carla(快速安装版本,源码安装实在是。。。电脑带不动)
(1)按照最新的版本的linux build来下载更新依赖,主要是python等一些依赖。

https://carla.readthedocs.io/en/0.9.13/build_linux/

sudo apt-get update &&
sudo apt-get install wget software-properties-common &&
sudo add-apt-repository ppa:ubuntu-toolchain-r/test &&
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - &&
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main" &&
sudo apt-get update
sudo apt-get install build-essential clang-8 lld-8 g++-7 cmake ninja-build libvulkan1 python python-pip python-dev python3-dev python3-pip libpng-dev libtiff5-dev libjpeg-dev tzdata sed curl unzip autoconf libtool rsync libxml2-dev git
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-8/bin/clang++ 180 &&
sudo update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-8/bin/clang 180
# For Python 3
pip3 install --upgrade pip

# For Python 2
pip install --upgrade pip
pip install --user setuptools &&
pip3 install --user -Iv setuptools==47.3.1 &&
pip install --user distro &&
pip3 install --user distro &&
pip install --user wheel &&
pip3 install --user wheel auditwheel
这篇关于ubuntu18.04安装CARLA+CARLA-ROS-BRIDGE的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!