mapbox-gl-native
mapbox-gl-native copied to clipboard
Development/Compile instructions don't work
I'm attempting to build mapbox-gl-native to play around with static map rendering. I'm using the Docker image over here to get the dependencies into a ubuntu:latest image. I then try to follow the mapbox-gl-native README instructions for compiling and it fails.
Steps to trigger behavior
-
Grab the docker image at https://github.com/iandees/atto/blob/master/docker/Dockerfile
-
Run
docker build -f Dockerfile .
-
Build fails with:
CMake Error: The source directory "/opt/src/github.com/mapbox/mapbox-gl-native/build" does not exist. Specify --help for usage, or press the help button on the CMake GUI.
Expected behavior
Compilation to succeed.
Actual behavior
CMake Error: The source directory "/opt/src/github.com/mapbox/mapbox-gl-native/build" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Also experiencing this when trying to build from cloned git. Ubuntu 18.04.3 LTS
@iandees Can you try with this docker? https://github.com/mapbox/mapbox-gl-native/blob/master/scripts/ci/Dockerfile