Skip to content

when compiling, occured E0599 error #7

Open

Description

@roccho-dev

cmd_JE2j0kFzF9

Hi.
Anyone encounted this error?

Activity

  1. AE1020 commented on Oct 5, 2022

    @AE1020
    Contributor

    I was just now looking at this project, trying to build the Wasm demo and got the same error...

    It appears that FontTransform::RotateAngle() was reverted in July in the main plotters project, and a corresponding reversion was not made here.

    The only reason that RotateAngle() was added in this repository was so that an enum covered cases exhaustively.

    Deleting that line didn't seem to make it work at one point. But then after tinkering around it did...so maybe I was an inconsistent state. It's compiling now, and I managed to test the Wasm demo in-browser.

    (I have the main plotters library cloned locally, and I edited the Cargo.toml in the plotters-canvas to use a path = on the local drive for plotters, instead of a git =. The same change was needed in the plotters-wasm-demo's Cargo.toml.)

    I have submitted a PR to undo the RotateAngle() commit.


    Note: Circa 2022 the plotters project has had a lapse in maintenance, and there is a thread about establishing new community maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions