Giter Club home page Giter Club logo

Comments (6)

maxammann avatar maxammann commented on August 16, 2024

On ubuntu you will need to install libwayland-dev and libxkbcommon-dev.

There is no documentation about it yet I think.

from maplibre-rs.

dr-kristau avatar dr-kristau commented on August 16, 2024

thanks @maxammann

On Fedora I had to install wayland-devel and protobuf-compiler to get the demo to build. Unfortunately, when I ran $ maplibre-demo headed it threw an error:

[2023-01-19T15:19:15Z INFO  wgpu_hal::gles::egl] Enabling EGL debug output
libEGL warning: egl: failed to create dri2 screen
[2023-01-19T15:19:15Z ERROR wgpu_hal::gles::egl] EGL 'eglInitialize' code 0x3001: DRI2: failed to create screen

This error is quite usual on my machine due to its age, and probably has nothing to do with maplibre.

from maplibre-rs.

nyurik avatar nyurik commented on August 16, 2024

yes, i just ran into the same issue, and had to check the CI script. We need to document native deps early on, maybe in a table for different distros.

from maplibre-rs.

nyurik avatar nyurik commented on August 16, 2024

P.S. i wonder if we can get rid of protobuf compiler - there is a rust-only implementation afaik

from maplibre-rs.

maxammann avatar maxammann commented on August 16, 2024

The actual code generation code is already rust. There is still the dependency to the protoc dependency which we will not get rid of.

from maplibre-rs.

maxammann avatar maxammann commented on August 16, 2024

We maybe should setup a nix-shell environment.

That way all dependencies are declared and all use the same version that could work well for Rust on Linux and macOS.

from maplibre-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.