Add instructions for upgrading g++ on Linux

This commit is contained in:
Eric Fischer 2017-01-17 10:38:40 -08:00
parent a00903ecc6
commit 801c5d6574
2 changed files with 25 additions and 1 deletions

View File

@ -279,6 +279,17 @@ and perhaps
make install
Tippecanoe now requires features from the 2014 C++ standard. If your compiler is older than
that, you will need to install a newer one. On MacOS, updating to the lastest XCode should
get you a new enough version of `clang++`. On Linux, you should be able to upgrade `g++` with
```
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -y
sudo apt-get install -y g++-5
export CXX=g++-5
```
Examples
------

View File

@ -315,7 +315,7 @@ Linux:
.PP
.RS
.nf
sudo apt\-get install libsqlite3\-dev zlib1g\-dev
sudo apt\-get install build\-essential libsqlite3\-dev zlib1g\-dev
.fi
.RE
.PP
@ -334,6 +334,19 @@ and perhaps
make install
.fi
.RE
.PP
Tippecanoe now requires features from the 2014 C++ standard. If your compiler is older than
that, you will need to install a newer one. On MacOS, updating to the lastest XCode should
get you a new enough version of \fB\fCclang++\fR\&. On Linux, you should be able to upgrade \fB\fCg++\fR with
.PP
.RS
.nf
sudo add\-apt\-repository \-y ppa:ubuntu\-toolchain\-r/test
sudo apt\-get update \-y
sudo apt\-get install \-y g++\-5
export CXX=g++\-5
.fi
.RE
.SH Examples
.PP
Check out some examples of maps made with tippecanoe \[la]MADE_WITH.md\[ra]