Skip to content

no instructions on how to run web demo  #2859

Closed
@fr-an-k

Description

@fr-an-k

Describe the bug
Since the Android version crashes immediately on all my devices, the WSL version is aliased and buggy and the Windows version doesn't compile, I was hoping the web version could be my lifeline to adopt this in a commercial project while the others are getting fixed.

There is a link to the web demo but no instructions on how to run it yourself of how to get started with egui on the web (eframe_template doesn't explain it either and is not functional).

I spent days trying to get anything to work without success, while the documentation is very light and assuming.

The source code links in the demo refer to rust files, without a way to run it, and based on the complex main Cargo.toml which makes it impossible to get started with them or a new egui project.

The demo project is in the crates directory, rather than the examples, with no link to it anywhere. The instructions refer to .sh files, but they don't actually exist and would presumably be limited to a linux shell rather than being cross-platform.

To Reproduce
Clone egui git, go to crates/egui_demo_app
None of the instructions work, same for any other egui example out there.

The native build works on WSL, but the cursor does not work and the text is virtually unreadable due to aliasing; it does not appear as a supported platform.

Link to the Windows compilation bug that occurs with any egui-related example: #2856
I suspect this just happens to be a temporary bug in one of the dependencies. My toolchain appears to be fine.

Expected behavior
egui should have at least one working example/instructions for the promised platforms or not pretend that it does, it's very frustrating like this. The readymade web demo itself works fine.

Desktop (please complete the following information):

  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions