mapbox-gl-native icon indicating copy to clipboard operation
mapbox-gl-native copied to clipboard

Development/Compile instructions don't work

Open iandees opened this issue 4 years ago • 2 comments

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

  1. Grab the docker image at https://github.com/iandees/atto/blob/master/docker/Dockerfile

  2. Run docker build -f Dockerfile .

  3. 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.

iandees avatar Aug 02 '20 03:08 iandees

Also experiencing this when trying to build from cloned git. Ubuntu 18.04.3 LTS

hjbdev avatar Aug 18 '20 08:08 hjbdev

@iandees Can you try with this docker? https://github.com/mapbox/mapbox-gl-native/blob/master/scripts/ci/Dockerfile

tmpsantos avatar Aug 31 '20 21:08 tmpsantos