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

Can’t compile with webp[-static] features #116

Open
da2x opened this issue Feb 28, 2022 · 0 comments
Open

Can’t compile with webp[-static] features #116

da2x opened this issue Feb 28, 2022 · 0 comments

Comments

@da2x
Copy link

da2x commented Feb 28, 2022

$ rustc -V
rustc 1.58.1 (Fedora 1.58.1-1.fc35)

$ cargo install dssim --features webp
[…]

   Compiling load_image v2.16.2
error[E0615]: attempted to take value of method `opaque` on type `&loader::Loader`
  --> /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/load_image-2.16.2/src/webp.rs:14:17
   |
14 |         if self.opaque {
   |                 ^^^^^^ method, not a field
   |
help: use parentheses to call the method
   |
14 |         if self.opaque(_) {
   |                       +++

For more information about this error, try `rustc --explain E0615`.
error: failed to compile `dssim v3.2.0`, intermediate artifacts can be found at `/tmp/cargo-installHjA6kC`

Caused by:
  could not compile `load_image` due to previous error
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

1 participant