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

Building rendersvg with cairo backend results in "built without any backends" #69

Closed
mythmon opened this issue Jun 22, 2018 · 1 comment

Comments

@mythmon
Copy link

mythmon commented Jun 22, 2018

I cloned the repo and ran, in the base of the repository:

$ cargo build --release --features="cairo-backend" -p rendersvg
$ ./target/release/rendersvg

This resulted in the error

Error: rendersvg has been built without any backends.

I have not tried the qt backend.

@RazrFalcon
Copy link
Collaborator

RazrFalcon commented Jun 23, 2018

Looks like a cargo bug. You should not use the -p, --package flag. Run cargo build directly in the tools/rendersvg.

Yeap, kinda a bug: rust-lang/cargo#5364

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