Code Monkey home page Code Monkey logo

Comments (8)

Cykooz avatar Cykooz commented on July 20, 2024

Try to enable "use-bindgen" feature for this crate.
I think the problem in bindings.rs that was generated on my computer under x64 architecture.

from libheif-sys.

werdahias avatar werdahias commented on July 20, 2024

This does happen regardless of the use-bingen feature being enabled.

from libheif-sys.

Cykooz avatar Cykooz commented on July 20, 2024

I can't reproduce this error.
My testing environment:

  • Debian Trixie x32 in Virtual Box
  • Rust 1.72
  • libheif-dev 1.16.2-2
  • clang 14.0.6
  • libheif-sys from master branch

Results:

$ uname -a
Linux debian-x32 6.4.0-3-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.4.11-1 (2023-08-17) i686 GNU/Linux

$ cargo test --features use-bindgen
...
running 14 tests
...
test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
...

from libheif-sys.

werdahias avatar werdahias commented on July 20, 2024

hm, the error happend with 1.14, so maybe it's fixed now. I upload a patched 0.16 earlier; I'll test if the issue still persists. Thanks for looking into that.

from libheif-sys.

werdahias avatar werdahias commented on July 20, 2024

Still present here: just running the standalone test for libheif-sys 1.16 fails. Log: here

from libheif-sys.

Cykooz avatar Cykooz commented on July 20, 2024

Your log is missing the "use-bindgen" string. Are you sure this feature was enabled?

from libheif-sys.

werdahias avatar werdahias commented on July 20, 2024

The debian testing just runs cargo test without any features.

from libheif-sys.

Cykooz avatar Cykooz commented on July 20, 2024

Feature "use-bindgen" was added into default features in release 2.0.0.

from libheif-sys.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.