Skip to content

Build error #363

Description

@mkrueger

Can't build my

gifski = "1.34.0"

dep currently - because of that:

I've already informed lodepng but I let you know - if somehing in the dep. chain breaks - all have the problem - including me.

——————————————————————————————————————
error[E0599]: no function or associated item named new_with_window_bits found for struct Compress in the current scope
--> /home/mkrueger/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lodepng-3.12.1/src/zlib.rs:129:36
|
129 | let gz = flate2::Compress::new_with_window_bits(Compression::fast(), false,
| ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in Compress
|
note: if you're trying to build a new Compress, consider using Compress::new which returns Compress
--> /home/mkrueger/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/flate2-1.1.7/src/mem.rs:198:5
|
198 | pub fn new(level: Compression, zlib_header: bool) -> Compress {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no method named set_dictionary found for struct Compress in the current scope
--> /home/mkrueger/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lodepng-3.12.1/src/zlib.rs:141:29
|
141 | let _ = self.gz.set_dictionary(&_dict[_dict.len().saturating_sub(1<<14)..]);
| ^^^^^^^^^^^^^^ method not found in Compress

Activity

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