-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error running maplibre-demo #242
Comments
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 [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. |
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
The text was updated successfully, but these errors were encountered: