diff options
author | Randall Lee <randall.lee@mapbox.com> | 2018-05-22 14:09:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 14:09:36 -0400 |
commit | d858cb783b499a1cc77b48a0faee137ca5e6a423 (patch) | |
tree | 5c36c353730e3050d44e472545519c0429723266 /platform/linux/README.md | |
parent | f93d722458be62d567aa152711a014ef51a90193 (diff) | |
parent | 60505b03174b5ec02ae723beafa7683f6ed54a62 (diff) | |
download | qtlocation-mapboxgl-upstream/rclee-async-setup.tar.gz |
Merge branch 'master' into rclee-async-setupupstream/rclee-async-setup
Diffstat (limited to 'platform/linux/README.md')
-rw-r--r-- | platform/linux/README.md | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/platform/linux/README.md b/platform/linux/README.md index 8b8ac9d089..a8a4d459ee 100644 --- a/platform/linux/README.md +++ b/platform/linux/README.md @@ -6,7 +6,7 @@ We are using Ubuntu for development. While the software should work on other dis This process gives you a Linux desktop app built on a Linux host system. -### Build +### Prerequisites Install GCC 4.9+ if you are running Ubuntu 14.04 or older. Alternatively, you can also use [Clang 3.5+](http://llvm.org/apt/). @@ -15,9 +15,6 @@ Install GCC 4.9+ if you are running Ubuntu 14.04 or older. Alternatively, you ca sudo apt-get install gcc-4.9 g++-4.9 export CXX=g++-4.9 -**Note**: We partially support C++14 because GCC 4.9 does not fully implement the -final draft of the C++14 standard. More information in [DEVELOPING.md](DEVELOPING.md). - Ensure you have git and other build essentials: sudo apt-get install curl git build-essential zlib1g-dev automake \ @@ -38,6 +35,21 @@ Install glfw3 dependencies: x11proto-xf86vidmode-dev libxxf86vm-dev \ libxcursor-dev libxinerama-dev +[Node.js](https://nodejs.org/) 4.2.1 or later is also required. + +[ccache](https://ccache.samba.org) is optional, but improves recompilation performance. + +## Build + +Clone the git repository: + + git clone https://github.com/mapbox/mapbox-gl-native.git + cd mapbox-gl-native + +Note that this repository uses Git submodules. They'll be automatically checked out when you first run a `make` command, +but are not updated automatically. We recommended that you run `git submodule update` after pulling down new commits to +this repository. + Set the environment variable `MAPBOX_ACCESS_TOKEN` to your [Mapbox access token](ACCESS_TOKEN.md): export MAPBOX_ACCESS_TOKEN=MYTOKEN |