Closed dr-kristau closed 2 months ago
On ubuntu you will need to install libwayland-dev and libxkbcommon-dev.
There is no documentation about it yet I think.
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.
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.
P.S. i wonder if we can get rid of protobuf compiler - there is a rust-only implementation afaik
The actual code generation code is already rust. There is still the dependency to the protoc dependency which we will not get rid of.
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.
Closing as this should work by now with the provided nix shell. Nix is a soft-dependency though. Everything should work without it.
Running
cargo run -p maplibre-demo
on my Fedora system throws a compile errorš¤ Expected Behavior
I expect to be able to compile the maplibre-demo running
cargo run -p maplibre-demo
šÆ Current Behavior
I obtain the following when running
cargo run -p maplibre-demo
š Your Environment