Rename MapLibre GL Native -> MapLibre Native (#1075)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
# Linux
|
||||
|
||||
A simple executable and test suite for Linux based on [MapLibre GL Native](../../README.md).
|
||||
A simple executable and test suite for Linux based on [MapLibre Native](../../README.md).
|
||||
|
||||
This guide focuses on Debian and Ubuntu distributions.
|
||||
|
||||
The build process should give you a set of `.a` files that you can use to include MapLibre GL Native in other C++ projects, as well as a set of executables that you can run to render map tile images and test the project.
|
||||
The build process should give you a set of `.a` files that you can use to include MapLibre Native in other C++ projects, as well as a set of executables that you can run to render map tile images and test the project.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
The following dependencies are required to build MapLibre GL Native on Debian 11.
|
||||
The following dependencies are required to build MapLibre Native on Debian 11.
|
||||
|
||||
```bash
|
||||
apt install ccache cmake ninja-build pkg-config xvfb libcurl4-openssl-dev libglfw3-dev libuv1-dev g++-10 libc++-9-dev libc++abi-9-dev libpng-dev libgl1-mesa-dev libgl1-mesa-dri
|
||||
@@ -53,7 +53,7 @@ If all went well, there should now be a `maplibre-gl-native/build/bin/mbgl-rende
|
||||
|
||||
> I get an error `Error: Failed to open X display.` when I run this command.
|
||||
|
||||
If you're setting up MapLibre GL Native on a headless server (i.e. one without a display), you'll need to simulate an X server to do any rendering.
|
||||
If you're setting up MapLibre Native on a headless server (i.e. one without a display), you'll need to simulate an X server to do any rendering.
|
||||
|
||||
```bash
|
||||
xvfb-run -a ./build/bin/mbgl-render --style https://raw.githubusercontent.com/maplibre/demotiles/gh-pages/style.json --output out.png
|
||||
|
||||
Reference in New Issue
Block a user