Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when compiling, occured E0599 error #7

Open
PorcoRosso85 opened this issue Oct 4, 2022 · 1 comment
Open

when compiling, occured E0599 error #7

PorcoRosso85 opened this issue Oct 4, 2022 · 1 comment

Comments

@PorcoRosso85
Copy link

cmd_JE2j0kFzF9

Hi.
Anyone encounted this error?

@AE1020
Copy link
Contributor

AE1020 commented Oct 5, 2022

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants