mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Merge pull request #350 from mapbox/c++-readme
Add instructions for upgrading g++ on Linux
This commit is contained in:
@@ -279,6 +279,17 @@ and perhaps
|
|||||||
|
|
||||||
make install
|
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
|
Examples
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|||||||
+14
-1
@@ -315,7 +315,7 @@ Linux:
|
|||||||
.PP
|
.PP
|
||||||
.RS
|
.RS
|
||||||
.nf
|
.nf
|
||||||
sudo apt\-get install libsqlite3\-dev zlib1g\-dev
|
sudo apt\-get install build\-essential libsqlite3\-dev zlib1g\-dev
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
@@ -334,6 +334,19 @@ and perhaps
|
|||||||
make install
|
make install
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.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
|
.SH Examples
|
||||||
.PP
|
.PP
|
||||||
Check out some examples of maps made with tippecanoe \[la]MADE_WITH.md\[ra]
|
Check out some examples of maps made with tippecanoe \[la]MADE_WITH.md\[ra]
|
||||||
|
|||||||
Reference in New Issue
Block a user